You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Richard Mixon (qwest)" <rn...@qwest.net> on 2005/02/24 16:48:22 UTC

Under Tomcat 5.5.7 how to get "Username xxx successfully authenticated"

Under Tomcat 5.0.19 I had a logger statement in my application context
that created a log file. This log file contained, among other things, a
line each time a user successfully/unsuccessfully logged in, similar to:
  2005-02-20 07:09:20 JDBCRealm[/stars]: Username xxx successfully
authenticated
or
  2005-02-20 07:09:20 JDBCRealm[/stars]: Username xxx NOT successfully
authenticated

I understand that under Tomcat 5.5.7 much of the logging is now handled
by commons-logging and log4j. Is there still a way to get the above
information? I have enabled logging using the instructions in the Tomcat
documentation at
  http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
but do not really get what I am looking for (maybe I do not know what
specific logger statements to put in).

Thanks - Richard


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org