is there any place to find log4j or logging best practices?

2007-01-26 Thread legolas
Hi Thank you for reading my psot I am looking to find log4j or logging best practices, can some one help? thanks -- View this message in context: http://www.nabble.com/is-there-any-place-to-find-log4j-or-logging-best-practices--tf3125666.html#a8660282 Sent from the Log4j - Users mailing list a

RE: Log file will not append

2007-01-26 Thread Kamal Ahmed
Here is a sample, which works, hope this helps log4j.rootLogger=DEBUG, testAppender log4j.appender.testAppender= org.apache.log4j.RollingFileAppender log4j.appender.testAppender.file=output/RFA-test1.log log4j.appender.testAppender.Append=false log4j.appender.testAppender.layout=org.apache.log4j.P

Re: Log file will not append

2007-01-26 Thread James Stauffer
Run with -Dlog4j.debug in the command line and look in the system output. On 1/26/07, Melvin Mah <[EMAIL PROTECTED]> wrote: I have a program in which it uses the log4j to produce its logs. Recently, as of last month, it worked fine. But when I tried testing a program, the log, which I specified

RE: Changing loglevel at runtime (systemwide)

2007-01-26 Thread Detering Dirk
> Manipulating the repository threshold might accomplish what > you are trying to do. Every event is evaluated relative to > the repository threshold before being evaluated against > logger and appender thresholds. If you set the repository > threshold to "info" but set the loggers and append

Re: AW: Re: AW: Unnecessary garbage

2007-01-26 Thread Thomas Kathmann
Wyss Patrick wrote: ... generating unnecessary String objects ... // to log a new message buf.clear(); buf.append("some string here"); this creates a String object on every call as well... it's the same as: buf.append(new String("some string here")); how much would you bet :-] I wrote