On 14/08/2007, at 1:08 AM, Cheung, Quinn wrote:
Hi all,
I have several machines connected to chainsaw via Zeroconf &
socketHubAppender. But there seems to be something strange
happening with the list of connections shown in Chainsaw (see the
attached image). 2 questions:
Unfortunately
With your suggestions, my setup is now working wonderfully.
By the way, I went ahead and purchased the Log4j manual just now and it is
definitely a big help to have.
Again, thanks!!
-Original Message-
From: Scott Deboy [mailto:[EMAIL PROTECTED]
Sent: Monday, August 13, 2007 10:27 AM
T
I think you need to use the xml file format if you are defining
receivers/filters.
Scott
-Original Message-
From: Wilfong, Paul [mailto:[EMAIL PROTECTED]
Sent: Monday, August 13, 2007 10:12 AM
To: Log4J Users List
Subject: RE: Where is XMLSocketAppender for XMLSocketReceiver?
One more
One more question - Is it possible for the config file to be in the "key=value"
format, or is XML necessary, for defining the receivers (plugins).
Thanks very much.
-Original Message-
From: Wilfong, Paul [mailto:[EMAIL PROTECTED]
Sent: Monday, August 13, 2007 9:30 AM
To: Log4J Users Lis
Ah so - Now I get it. This helps tremendously - Thanks!
-Original Message-
From: Scott Deboy [mailto:[EMAIL PROTECTED]
Sent: Monday, August 13, 2007 9:19 AM
To: Log4J Users List
Subject: RE: Where is XMLSocketAppender for XMLSocketReceiver?
You don't need to write a program for PC2 - a
You don't need to write a program for PC2 - any app that loads a log4j
configuration file will do - as long as that configuration file contains both
the receivers and appenders you need.
This means you can start SimpleSocketServer on PC2 configured with a log4j
configuration file which contains
Thanks very much for the reply! But I feel I am being dense about this.
I have a PC, call it PC1, running a Java program using SocketAppender with port
7776. At the same time, PC1 is also running a C++ program using an
XMLSocketAppender with port .
Now I have a second PC, call it PC2. I
When you are using the central server, change your config to not use
the FileAppender. That won't allow you to delete the file but at
least it will be empty.
On 8/13/07, rajashekhar v <[EMAIL PROTECTED]> wrote:
> Yes the file is open by the log4j. Is there any alternatives for this such
> as writ
Yes the file is open by the log4j. Is there any alternatives for this such
as writing empty data to the file. Or any other way to achieve my
requirement.
regards,
Rajshekhar.V
On 8/13/07, James Stauffer <[EMAIL PROTECTED]> wrote:
>
> The file probably can't be deleted because log4j has it open so
The file probably can't be deleted because log4j has it open so that
it can write to it.
On 8/13/07, rajashekhar v <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm implementing Logger for Distributed System using Log4j. I have 4
> different servers and each server is having the local Logger. Apart fro
Hi All,
I'm implementing Logger for Distributed System using Log4j. I have 4
different servers and each server is having the local Logger. Apart from the
local logger there will be an centralized logger in one server.
Usually the messages are logged to the centralized logger only. When central
ser
Hi all,
I have several machines connected to chainsaw via Zeroconf & socketHubAppender.
But there seems to be something strange happening with the list of connections
shown in Chainsaw (see the attached image). 2 questions:
1) Why is it showing 2 entries for the connection named "socketAppende
See the recent thread with a subject of "level based logging into
seperate files"
On 8/11/07, Chamal De Silva <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using RollingFileAppender.
> This is my log4j properties file.
>
> log4j.rootLogger=debug, R
> log4j.appender.R=org.apache.log4j.RollingFileAppend
13 matches
Mail list logo