t; wrote:
> > > > > I don't have experience with Log4J in Tomcat, but the usual solution
is to make sure the originating
> server is in an MDC field. This may well be taken care of in your setup
already.
> > > > >
> > > > > -Original Mess
503.997.1367
Fax: 503.222.0185
[EMAIL PROTECTED]
www.comotivsystems.com
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Monday, December 04, 2006 9:20 AM
To: Log4J Users List
Subject: Re: Change the log hierarchy on a log server
AFAIK there is no way to set it in the config
Is there a chance to get the rootlogger (or selected loggers) and
change it's name? I'd like to insert the name of the server to the
beginning of all the loggers name.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
e for managing MDC-s from config files (only for reading
> > > >> them).
> > > >> > > But I cannot change tomcat's codes, i can change it's logging
> > > >> > > properties from the logging.properties, or xml file.
> > > >
gt; > >> them).
> > >> > > But I cannot change tomcat's codes, i can change it's logging
> > >> > > properties from the logging.properties, or xml file.
> > >> > >
> > >> > > Could you help me, how can I manage MDC through th
; > >
> >> > > Thanks:
> >> > >Bence
> >> > >
> >> > >
> >> > > On 12/4/06, Blok, Eelke <[EMAIL PROTECTED]> wrote:
> >> > > > I don't have experience with Log4J in Tomcat, but the usual
ld you help me, how can I manage MDC through this kinds of
>> config files?
>> > >
>> > > Thanks:
>> > >Bence
>> > >
>> > >
>> > > On 12/4/06, Blok, Eelke <[EMAIL PROTECTED]> wrote:
>> > > > I d
; > I don't have experience with Log4J in Tomcat, but the usual
solution is to make sure the originating server is in an MDC field.
This may well be taken care of in your setup already.
> > >
> > > -----Original Message-
> > > From: Bence Takác
hierarchy on a log server
AFAIK there is no way to set it in the config file so one way to set
it is to call MDC.put("server", serverName) at the beginning of every
doGet or doPost. Another option may be to have the socket server call
MDC.put("server", clientName) but I haven
; I don't have experience with Log4J in Tomcat, but the usual solution is
to make sure the originating server is in an MDC field. This may well be taken care of
in your setup already.
> > >
> > > -----Original Message-
> > > From: Bence Takács [mailto:[EMAIL PROTECTED]
>
e of
in your setup already.
> >
> > -Original Message-
> > From: Bence Takács [mailto:[EMAIL PROTECTED]
> > Sent: maandag 4 december 2006 13:33
> > To: log4j-user@logging.apache.org
> > Subject: Change the log hierarchy on a log server
> >
> >
13:33
> To: log4j-user@logging.apache.org
> Subject: Change the log hierarchy on a log server
>
>
> Hello
>
> I have a log server (SimpleSocketServer), which gathers all the log4j clients
log. All the clients use their application specific settings, and a root logger
(in ERR
in your setup already.
-Original Message-
From: Bence Takács [mailto:[EMAIL PROTECTED]
Sent: maandag 4 december 2006 13:33
To: log4j-user@logging.apache.org
Subject: Change the log hierarchy on a log server
Hello
I have a log server (SimpleSocketServer), which gathers all the log4j clients
33
To: log4j-user@logging.apache.org
Subject: Change the log hierarchy on a log server
Hello
I have a log server (SimpleSocketServer), which gathers all the log4j clients
log. All the clients use their application specific settings, and a root logger
(in ERROR level) to catch tomcat Exceptions
Hello
I have a log server (SimpleSocketServer), which gathers all the log4j
clients log. All the clients use their application specific settings,
and a root logger (in ERROR level) to catch tomcat Exceptions.
To the server the log hierarchy is like this:
mycountry.mycompany.myapplication1
mycoun
15 matches
Mail list logo