Re: [thredds] Login Info in threddsServlet.log?


My apologies. Please disregard this question as I found the right link to RTFM.

<http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.3/tutorial/TDSMonitoringAndDebugging.html>

and

<http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.3/tutorial/tdsMonitor.html>

-kevin.


On 6/12/13 2:20 PM, Kevin Manross wrote:

Greetings!

I've set up a custom Tomcat Realm to authenticate users. Using the AccessLogValve <http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access_Log_Valve> I can log the authenticated username in the Tomcat access.log file using the %u flag.

As I understand it threddsServlet.log uses a different logging mechanism (log4j) than Tomcat uses, but it capture the request URI like the Tomcat valve does. I would like to capture the authenticated username and then log that in threddsServlet.log so I can simplify my log analyses for user metrics by only analyzing one log. Is there some way to forward the information that the AccessLogValve captures onto log4j and eventually to threddsServlet.log?

-kevin.


--
Kevin Manross
NCAR/CISL/Data Support Section
Phone: (303)-497-1218
Email:manross@xxxxxxxx <mailto:manross@xxxxxxxx>
Web:http://rda.ucar.edu


_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

--
Kevin Manross
NCAR/CISL/Data Support Section
Phone: (303)-497-1218
Email:manross@xxxxxxxx <mailto:manross@xxxxxxxx>
Web:http://rda.ucar.edu
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: