Re: VFSLogFilePatternReceiver usage?

2005-12-08 Thread Paul Smith
First question, did you tick the "Ok to remove SecurityManager" in the application preferences? If this is not ticked, particularly with the Webstart version it's impossible load stuff from the plugins directory. By ticking this box, you turn off the SecurityManager, and allow a TCL to be

VFSLogFilePatternReceiver usage?

2005-12-08 Thread Jacob Kjome
I feel like I should know this, but having never actually trying the VFSLogFilePatternReceiver before and trying to set it up now, I realize that I don't. Here's what I've done 1. Installed latest Webstart version of Chainsaw 2. Created $user.home/.chainsaw/plugins directory 3. Added

Re: log4j 1.3 Status

2005-12-08 Thread Anant K
I didn't know there were issues surrounding this. I guess our best bet is to log to separate files. Thanks for your help. On 12/8/05, Scott Deboy <[EMAIL PROTECTED]> wrote: > You'd have to use SocketReceiver on the log4j side, there is no > XMLSocketAppender for log4j (just SocketAppender). > >

RE: log4j 1.3 Status

2005-12-08 Thread Scott Deboy
You'd have to use SocketReceiver on the log4j side, there is no XMLSocketAppender for log4j (just SocketAppender). I wouldn't do it. I'd log to separate files. Your app can block. See: http://marc.theaimsgroup.com/?l=log4j-user&m=101128939812371&w=2 -Original Message- From: Anant K [

Re: log4j 1.3 Status

2005-12-08 Thread Anant K
How would it cause the app to block? Basically, what I am trying to do is run multiple applications simultaneously, written in both java and perl, and have them all log to one source. I cannot use a file because of contention, and I cannot use a database due to various unrelated issues. What I wa

RE: log4j 1.3 Status

2005-12-08 Thread Scott Deboy
I wouldn't use socket based appenders then...write logs to a file or db, bur socket appenders could cause your app to block. -Original Message- From: Anant K [mailto:[EMAIL PROTECTED] Sent: Thu 12/8/2005 5:48 PM To: Log4J Users List Subject: Re: log4j 1.3 Status I know it is availabl

Re: log4j 1.3 Status

2005-12-08 Thread Jacob Kjome
At 08:48 PM 12/8/2005 -0500, you wrote: >I know it is available in Chainsaw, but I need to use this in an >enterprise server environment - where no one has a GUI running, but >must look at the log files afterwards. > Is your own desktop not a GUI? What does it matter whether the server has a GU

Re: Serialization issue (LOG4j attribute in a serialized Thread)

2005-12-08 Thread Jacob Kjome
At 09:24 PM 12/8/2005 +0100, you wrote: >For my problem, I don't think it's such a solution ; I've packed >server and client in the same jar, and this jar use log4 and >commons-logging in its classpath. That shouldn't be a problem. As long as you have log4j and commons-logging in both the serve

Re: log4j 1.3 Status

2005-12-08 Thread Anant K
I know it is available in Chainsaw, but I need to use this in an enterprise server environment - where no one has a GUI running, but must look at the log files afterwards. On 12/8/05, Scott Deboy <[EMAIL PROTECTED]> wrote: > XMLSocketReceiver has been available as a part of the Chainsaw V2 Web Sta

RE: Retrieving all defined appenders

2005-12-08 Thread Burton Strauss
Nope. You have to do the loop - actually you need to loop through all loggers and their attached appenders plus the root logger. Search back a week ago or so and you'll find the code fragments that I posted during a discussion of this. --Burton -Original Message- From: Steve Pruit

Re: Serialization issue (LOG4j attribute in a serialized Thread)

2005-12-08 Thread DeMZed
Sorry for multiple post. I received a mail from the bot which said my post was considered as SPAM : I undestand know why, I didn't knew I've post more than once. For my problem, I don't think it's such a solution ; I've packed server and client in the same jar, and this jar use log4 and commons-lo

Retrieving all defined appenders

2005-12-08 Thread Steve Pruitt
Does anyone know a good way to query for all defined appenders without having to loop through all loggers? I've searched the api, but I can't find anything. Thanks, -S - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Serialization issue (LOG4j attribute in a serialized Thread)

2005-12-08 Thread Jacob Kjome
First, you only need to post once, and certainly not under two different threads. Be patient. It seems to me that you don't have Log4j.jar on both the client and server. You also should define your logger without "transient". static's aren't subject to serialization in the first place. So, ch

Re: Controlling loggers remotely

2005-12-08 Thread Jacob Kjome
LogWeb may be useful to you... http://www.codeczar.com/products/logweb/ This lets you configure Log4j via a web interface. I've found it quite useful! Or, actually, if you use a SocketAppender and log everything (or, at least, a large subset of categories) to DEBUG, you can capture the logging

Re: Unable to write logs out to FileAppenders or RollingFileAppenders

2005-12-08 Thread Jacob Kjome
Quoting Robin Clarke <[EMAIL PROTECTED]>: > The location of the files are: > > WEB-INF/lib/log4j-1.2.9.jar > WEB-INF/classes/log4j.properties > > What do you mean by "default configuration or manual"? "default" configuration refers to the automatic configuration performed by Log4j in a static ini

embedding chainsaw in my program

2005-12-08 Thread Mark
Is it possible to "embed" chainsaw into my system? My program contains an admin tool. What I would like is to place the chainsaw GUI into a tab in my admin tool. By doing this, I could possibly remove the need to configure the socket information every time I start the admin tool. Thank you.

Controlling loggers remotely

2005-12-08 Thread Rakesh Patel
Hi, I have a setup of log4j working quite well. I wanted to know if it was possible to selectively change logger levels. I know there is a servlet in cvs to do this. Is there any other way? Perhaps Chainsaw? If not, I'm thinking of writing a JSP based one - the servlet in cvs is quite old.

Serialization issue in a Thread

2005-12-08 Thread DeMZed
Hi, I've made a class ClientServer which extends Thread implements Remote, Serializable to bind it with RMI. Inside, i've got this attribute : private transient static Logger LOG = Logger.getLogger(ClientServer.class); I've made another similar class ClientPartenaire which extends UnicastRemote

Re: Unable to write logs out to FileAppenders or RollingFileAppenders

2005-12-08 Thread Robin Clarke
The location of the files are: WEB-INF/lib/log4j-1.2.9.jar WEB-INF/classes/log4j.properties What do you mean by "default configuration or manual"? robin > Where is log4j.jar and where do you put log4j.properties. To be more > specific, do you have log4j.jar in WEB-INF/lib with log4j.properties

Serialization issue (LOG4j attribute in a serialized Thread)

2005-12-08 Thread DeMZed
Hi, I've made a class ClientServer which extends Thread implements Remote, Serializable to bind it with RMI. Inside, i've got this attribute : private transient static Logger LOG = Logger.getLogger(ClientServer.class); I've made another similar class ClientPartenaire which extends UnicastRemote

Serialization issue (LOG4j attribute in a serialized Thread)

2005-12-08 Thread DeMZed
Hi, I've made a class ClientServer which extends Thread implements Remote, Serializable to bind it with RMI. Inside, i've got this attribute : private transient static Logger LOG = Logger.getLogger(ClientServer.class); I've made another similar class ClientPartenaire which extends UnicastRe