Chainsaw Add column

2006-09-11 Thread max bidbon
Hi everybody, I'm using log4 1.2.13 and Chainsaw V2. In my application I add some informations using MDC. I'm sending informations to Chainsaw using a SocketAppender. I'd like to see those informations in Chainsaw but not in the column message. In other words I'd like to add column in Chainsaw

RE: DailyRollingFileAppender failing

2006-09-11 Thread Thomas Muller
Hi, I appreciate that this problem is OS specific (Windows 2003 Server) and has nothing to do with Log4j. I was hoping someone could maybe help out anyway, because it's really wierd. The disk is definately not full, so this is (probably) a permission problem. Since we control the host completely

RE: chainsaw with DBReceiver

2006-09-11 Thread karen . e . greene
I am using CustomSQLDBReceiver with chainsaw. When chainsaw is launched, I am getting a null pointer exception. Any thoughts on what the issue might be? The execution of the job threw an exception java.lang.NullPointerException at org.apache.log4j.CategoryKey.(CategoryKey.java:30)

log4j dailyrollingfileappender in managed server environment

2006-09-11 Thread david.t.parkinson
All- I am encountering a problem using the dailyrollingfileappender in a managed server environment. Both virtual server nodes are set to write to the same logfile. The dailyrollingfileappender is supposed to archive the logfile every day (and it does), but after the archive, one of the nodes

Re: log4j dailyrollingfileappender in managed server environment

2006-09-11 Thread James Stauffer
Two JVMs should be writting to the same file. Consider these options: 1. Write to a database. 2. Write a Socket and have a listener collect and write to a file. 3. Write to distinct files. On 9/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: All- I am encountering a problem using the dai

RE: log4j dailyrollingfileappender in managed server environment

2006-09-11 Thread david.t.parkinson
James- Thanks for the response. For option 3 (the fastest solutions seems to always be preferred) is there a way to insert the server name into the logfile name or path as a parameter - so that the environment people don't have to change their deployment procedures? (something like /logs/{$serve

Re: log4j dailyrollingfileappender in managed server environment

2006-09-11 Thread James Stauffer
Check if the hostname is available as a system property. If not you can make it available if there is an environment variable (-Dhost.name=$COMPUTERNAME) On 9/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: James- Thanks for the response. For option 3 (the fastest solutions seems to alway

How to set permission of log files

2006-09-11 Thread JamesAi
When I use log4j in Linux, I found it has a permission problem. When log4j initialization, it create log files using system defalut permission, such as "-rw-r--r--". But if other user uses the application, he can't write anything into log file. So how to set permission of log files in log4j conf