RE: Database logging: server name

2004-06-25 Thread Ceki Gülcü
If you use the most recent code in CVS head, you can set a repository wide attributes such has the server hostname once and for all when you configure log4j (using JoranConfigrator). For values depending on the request, such as request server name, and remote address, these should be set using

RE: Database logging: server name

2004-06-24 Thread James Stauffer
: Database logging: server name We have not seen any performance problems. -Sean > -Original Message- > From: James Stauffer [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 12:01 PM > To: 'Log4J Users List' > Subject: RE: Database logging: server na

RE: Database logging: server name

2004-06-24 Thread Sullivan, Sean C - MWT
We have not seen any performance problems. -Sean > -Original Message- > From: James Stauffer [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 12:01 PM > To: 'Log4J Users List' > Subject: RE: Database logging: server name > > > Is there

RE: Database logging: server name

2004-06-24 Thread James Stauffer
: Database logging: server name In our environment, we store the server hostname in the MDC. First, we put the server hostname in a static variable: static private final String strServerHostname = getServerHostname(); For each HTTP request, we execute this code: MDC.put(SERVER_HOSTNAME_KEY

RE: Database logging: server name

2004-06-24 Thread Sullivan, Sean C - MWT
In our environment, we store the server hostname in the MDC. First, we put the server hostname in a static variable: static private final String strServerHostname = getServerHostname(); For each HTTP request, we execute this code: MDC.put(SERVER_HOSTNAME_KEY, strServerHostname); MDC.put