RE: Beginner Questions

2001-09-21 Thread Jon Skeet
> Thanks. I got it in the archive. Goodo - it's nice to know it's there, as then I can direct others to it too :) > I hope it can be in CVS soon, so people doesn't have > to un-jar, compile, and jar it again into log4j.jar I'm afraid they'd have to do that even if it were in CVS, as there are

Re: Beginner Questions

2001-09-21 Thread Lukman W. Kusuma
Dear Jon, Thanks. I got it in the archive. I hope it can be in CVS soon, so people doesn't have to un-jar, compile, and jar it again into log4j.jar Well, I like this class as that's simply what I need. Appreciate for your help. Thanks -- Lukman W. Kusuma Integration Manager CommVerge So

Re: need help with category structure

2001-09-21 Thread Joe Sackett
Hi, I am probably missing something but... If your ApplicationClasses run in separate VM instances from each other, you could configure the category/appender relationship at runtime using the Category class static methods. Once, at the beginning of your "application class" use the Category methods

Re: WG: need help with category structure

2001-09-21 Thread mark . russel
- (on vwall1) email-body was scanned and no virus found - Not sure if I understand why the data has to go to different log files. Why not send all data to the same file and post process it into diff

Re: duplicates in log

2001-09-21 Thread Paul Glezen
Chien Wei Tan wrote: > > does anyone know how to avoid or prevent having duplicate logs getting > displayed??? > You probably added the console appender to two categories with a parent/child relationship. When you log to the child, the appender is effectively included twice. - Paul -- Beware

RE: need help with category structure

2001-09-21 Thread Jim Moore
You can get the Categories staticly (Category.getInstance(String)), so I don't know why the fact that your utility classes have static methods makes any difference. -Original Message- From: Roland Röder [mailto:[EMAIL PROTECTED]] Sent: Friday, September 21, 2001 12:12 PM To: Log4j-User (

RE: Newbie: socket appender-Addition

2001-09-21 Thread Chuck . Irvine
I'm interested in chainsaw, but I don't see it anywhere on www.geocites.com/oburn/. Am I missing something? Thanks Chuck > -Original Message- > From: cnewlander [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 21, 2001 10:51 AM > To: log4j-user > Cc: cnewlander > Subject: RE: Newbi

WG: need help with category structure

2001-09-21 Thread Roland Röder
Hi, I'm very sad about getting no response on my question. This is a serious problem for me. I need only a hint, what to do. Can someone help me, please? regard, roland -Ursprüngliche Nachricht- Von: Roland Röder [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 14. September 2001 10:56 An

Re: Newbie: socket appender-Addition

2001-09-21 Thread mark . russel
I could be wrong but I think you are sending serialized Java strings down to the socket. VB will not be able to read them it does not know what a serialized Java String is. Mark Russell PNC 412-768-9603

RE: Newbie: socket appender-Addition

2001-09-21 Thread Craig Newlander
Try chainsaw - a java gui for log4j events. http://www.geocities.com/oburn/ -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Friday, September 21, 2001 10:11 AM To: Log4j Subject: Newbie: socket appender-Addition Hi, sorry I forgot to include my code samples. My P

RE: Classpath

2001-09-21 Thread Jon Skeet
> I've created a special use appender by extending the > AppenderSkeleton class > and have it working as expected. It works as long as I > instantiate and > configure the appender within a class. > > When I try to declare and configure it via a property file, I get a > ClassNotFound exception.

Newbie: socket appender-Addition

2001-09-21 Thread Alex Colic
Hi, sorry I forgot to include my code samples. My Properties file has the following: log4j.appender.SOCKET=org.apache.log4j.net.SocketAppender log4j.appender.SOCKET.RemoteHost=ws30 log4j.appender.SOCKET.Port=10003 log4j.appender.SOCKET.layout.ConversionPattern=%5p [%t] (%F:%L)-(%M)-(%d{ISO8601}

Classpath

2001-09-21 Thread Steve Bromley
I've created a special use appender by extending the AppenderSkeleton class and have it working as expected. It works as long as I instantiate and configure the appender within a class. When I try to declare and configure it via a property file, I get a ClassNotFound exception. It is in a jar f

Newbie: socket appender

2001-09-21 Thread Alex Colic
Hi, I have been using Log4j for a while to record log errors etc to the console and to a log file. One of my apps has a VB back end. I can send commands to this backend via a socket. I was thinking of sending error events to this socket so that they could be displayed in the GUI. I am a bit con

Re: Log4j in an applet

2001-09-21 Thread Steve Simons
I've actually found the cause of this problem. A bit of a school boy error really. As my Log4j config file retrieves a java property (java.io.tmpdir) I need to grant access to allow the applet to retrieve this property. This is done by adding this line into the .java.policy file: grant { pe

RE: Restarting logging after Disabling logging from a Configuration F ile

2001-09-21 Thread Stephen Levinson
I found my own answer: log4j.disableOverride=true restarts all logging... Cheers, Stephen -Original Message- From: Stephen Levinson [mailto:[EMAIL PROTECTED]] Sent: Friday, September 21, 2001 8:36 AM To: 'LOG4J Users Mailing List' Subject: Restarting logging after Disabling logging fr

Restarting logging after Disabling logging from a Configuration File

2001-09-21 Thread Stephen Levinson
I have found that with configureAndWatch(...) if I set log4j.disable=FATAL it turns OFF all logging... I can then change this to log4j.disable=DEBUG (or INFO, etc) and everything above debug turns on... But I can't get ALL logging to restart once I've set disable=FATAL ... Is there any way

RE: Beginner Questions

2001-09-21 Thread Jon Skeet
> Any idea where I can get the DatedFileAppender ? > I have tried to go to the cvs but couldn't find it. It's not in CVS yet, but may be available in the log4j-dev archives. If you can't find it, let me know and I'll mail you a copy. (Hopefully it'll get into CVS when Ceki has a bit more time af

RE: Disabling logging from a Configuration File

2001-09-21 Thread Stephen Levinson
Can this be done via configureAndWatch(...) ??? If not, how to do this in real-time runtime...??? Thanks. --Stephen -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 5:30 PM To: LOG4J Users Mailing List Subject: Re: Disabling logging from

Re: Beginner Questions

2001-09-21 Thread Lukman W. Kusuma
Dear Gunter, Any idea where I can get the DatedFileAppender ? I have tried to go to the cvs but couldn't find it. The only thing close to it is DailyFileAppender1 from Eirik Lygre.  Sounds like your DatedFileAppender doesn't need additional parameter and meet my requirement. Thanks for you

Re: Beginner Questions

2001-09-21 Thread Lukman W. Kusuma
Dear Gunter, Your pointer will do. Thanks for your help. Lukman Gunter Sammet wrote: 007501c14272$9b781e10$3d5ce33e@CS235710C"> Try the DatedFileAppender. I'm not sure if it is already contained in the standard version or if you still have to download the class as an extension. At

RE: Beginner Questions

2001-09-21 Thread Gunter Sammet
Try the DatedFileAppender. I'm not sure if it is already contained in the standard version or if you still have to download the class as an extension. At the end a sample of my xml config file with a DatedFileAppender and a ConsoleAppender. The occ.log for the filename will be changed to 'o