You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by co...@compuserve.de on 2006/11/21 15:22:10 UTC
Can we create different log files using the logging module?
Dear all,
I would like to log inputs from different users/ clients. Is it possible
save those data in different files using the tomcat Log module?
If yes, could you please give me some hints?
Thanks a lot.
Cheers,
Gop
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Can we create different log files using the logging module?
Posted by Tim Lucia <ti...@yahoo.com>.
I have added a filter to my application, which pushed the NDC (Nested Debug
Context) which includes the username, remote IP, and other information about
the user. Then %x will display this in the log file. Of course you become
explicitly dependent on log4j if you do this.
I'm not aware of a completely generic mechanism to distribute log files on a
per-client basis.
Tim
-----Original Message-----
From: compuin5y313@compuserve.de [mailto:compuin5y313@compuserve.de]
Sent: Tuesday, November 21, 2006 9:22 AM
To: Tomcat Users List
Subject: Can we create different log files using the logging module?
Dear all,
I would like to log inputs from different users/ clients. Is it possible
save those data in different files using the tomcat Log module?
If yes, could you please give me some hints?
Thanks a lot.
Cheers,
Gop
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org