> 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
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
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
- (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
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
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 (
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
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
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
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
> 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.
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}
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
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
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
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
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
> 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
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
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
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
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
22 matches
Mail list logo