Congratulations Scott

2005-03-22 Thread Jim . Rice
My best for many happy years and experiences! Jim "Scott Deboy" <[EMAIL PROTECTED]> 03/22/2005 04:44 PM Please respond to "Log4J Users List" To "Log4J Users List" cc Subject RE: why does log4j ignore my log4j.properties definition? config file must be in classpath. typing 1-hand

RE: way to get username into logs

2005-03-22 Thread Rieser, Michael \(SCI TW\)
> -Original Message- > From: David J. M. Karlsen > Elihu Smails wrote: > > >Is there a way to use one of the layouts/patterns in order to get the > >username into the logs? I do not see this as an option in any of the > >configurations and it seems like it would be really easy. > > > >T

Re: Multiple log files.

2005-03-22 Thread Jacob Kjome
Post your config file. Jake Quoting Luke Reeves <[EMAIL PROTECTED]>: > I tried that; that makes all log messages (not just mail-related ones) > appear in both files... > > Luke > > Aswin Asokan wrote: > > Try changing > > log4j.logger.MailLog=mail > > to > > log4j.logger.MailLog=DEBUG,mail

RE: why does log4j ignore my log4j.properties definition?

2005-03-22 Thread Scott Deboy
config file must be in classpath. typing 1-handed - new baby boy! -Original Message- From: Bradley, Todd [mailto:[EMAIL PROTECTED] Sent: Tue 3/22/2005 1:41 PM To: Log4J Users List Cc: Subject:RE: why does log4j ignore my log4j.properties definition? Thank you for poi

RE: why does log4j ignore my log4j.properties definition?

2005-03-22 Thread Bradley, Todd
Thank you for pointing out my stupid typo. However, it still doesn't work: [EMAIL PROTECTED]:~/sample-app-MS1> java -Dlog4j.debug=true -Dlog4j.configuration=mylog4j.properties -jar Proximo-Demo.jar log4j: Trying to find [mylog4j.properties] using context classloader [EMAIL PROTECTED] log4j: Tryi

Re: Multiple log files.

2005-03-22 Thread Luke Reeves
I tried that; that makes all log messages (not just mail-related ones) appear in both files... Luke Aswin Asokan wrote: > Try changing > log4j.logger.MailLog=mail > to > log4j.logger.MailLog=DEBUG,mail > > > Regards, > Aswin Asokan signature.asc Description: Digital signature

RE: why does log4j ignore my log4j.properties definition?

2005-03-22 Thread Scott Deboy
-Dlog4j.configuration=mylog4j.properties -Original Message- From: Bradley, Todd [mailto:[EMAIL PROTECTED] Sent: Tue 3/22/2005 12:48 PM To: Log4J Users List Cc: Subject:why does log4j ignore my log4j.properties definition? I'm running a program from a jar file that con

why does log4j ignore my log4j.properties definition?

2005-03-22 Thread Bradley, Todd
I'm running a program from a jar file that contains its own log4j.properties. However, I want to override that and tell it to use my own properties file. However, even though I give java a -Dlog4j.properties argument, it ignores that and reads in a different properties file. See here: [EMAIL PR

Re: way to get username into logs

2005-03-22 Thread David J. M. Karlsen
Elihu Smails wrote: Is there a way to use one of the layouts/patterns in order to get the username into the logs? I do not see this as an option in any of the configurations and it seems like it would be really easy. Thank you. If it's the username of the user executing the java-process: use th

Re: Displaying custom log level in Chainsaw v2

2005-03-22 Thread Paul Smith
Probably not, there is still the issue of resolving the Level string/int to a Level. The log4j Level class needs to be changed to enable 'registration' of custom levels, but I'm not sure how much of a priority that is at this stage. Paul alex mazour wrote: Paul Smith aconex.com> writes: Wh

RE: Chainsaw with CustomSQLDBReceiver fo oracle

2005-03-22 Thread Scott Deboy
Here are a few suggestions: - the field assigned as the IDField needs to be a not null, unique, preferably an auto-incrementing int (you could probably use the ID column) - i'm not sure what msisdn is, but it should only show up once in the sql param - you need to verify that you're successfully

RE: Chainsaw with CustomSQLDBReceiver fo oracle

2005-03-22 Thread Ghielli Patrick
(Same with inclusions) Hi, I have included the table schema and the DB receiver config file. I kept the remarks below in mind, since they were already mentionned in an earlier posting. But unfortunately, still no success. The 'application' and 'hostname' paraeters seem to have no effect at all.

RE: Chainsaw with CustomSQLDBReceiver fo oracle

2005-03-22 Thread Ghielli Patrick
Hi, I have included the table schema and the DB receiver config file. I kept the remarks below in mind, since they were already mentionned in an earlier posting. But unfortunately, still no success. The 'application' and 'hostname' paraeters seem to have no effect at all. Regards, Patrick. -

Re: Displaying custom log level in Chainsaw v2

2005-03-22 Thread alex mazour
Paul Smith aconex.com> writes: > > > Which Receiver class are you using with Chainsaw? > > Paul > Currently, we do not use any receivers. Log4j logs data into a file in XML, and then I load this file into Cnainsaw. Would a receiver make it easier to handle custom log level ? Thanks again,

Re: guidance on creating a custom layout

2005-03-22 Thread James Stauffer
Add the PID to MDC. On Mon, 21 Mar 2005 22:50:20 -0500, Elihu Smails <[EMAIL PROTECTED]> wrote: > I want to write a layout that will be able to support PID for my logs. > My java program stores its process ID file in /var/run, and I want to > be able to place this process ID in each of my logs.