AFAIK you don't have to call rollover() in your code.
The appender works it out for you.
It will automatically roll the files when they reach a certain size.
>>> [EMAIL PROTECTED] 04/06/01 01:44am >>>
Hi ,
i set MaxBackupIndex=1 , but i didn't get any backup file.
even if i set MaxBackupIndex=
Yes, it is a singleton, inasmuch as it uses a static member for the default
hierarchy.
I'm uncertain as to the ramifications in a clustered environment.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 05, 2001 3:28 PM
> To: LOG4J User
Hi Can anyone send me some example code of using socket adapter in EJBs
sac
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
When you use PatternLayout you can specify a data attribute. It's pretty
sweet. Check out the javadocs for PatternLayout.
Anuj.
Rob Walker wrote:
> As a new user I may be raising an obvious or old question here. Is
> there some way log messages can be timestamped when raised
> as opposed to wh
Yes Jin,
I hope so. That's what my question. You know if it is across different JVMs
in distributed applications
like EJBs, Servlets and two EJB instances of same type from different
process try to log to a same
file, what will happen.
Many people say we can use JMSAppender, but I don't want to
As I understand, writting to file is the task of Appenders, which is
synchronized.
However, when crossing JVM, there still might be problems.
Is this correct ?
Jin
>>
Hi guys,
we are creating category object with the static method getInstance(). I
have a question for you guys.
Is Category
As a new user I may be raising an obvious or old question here. Is
there some way log messages can be timestamped when raised
as opposed to when logged. It's not a big deal for local logging, but
when logging over slow network links the messages in local file
based logs show different timestam
Thanks Martin,
But I am still not very sure how to use the FileAppender with the Session
Bean. There is a new thread that is dispatched every time I try to write to
the log with File appender. and it doesn't write to file properly. Do you
have any sample code .
Session Beans category variable use
Hi guys,
we are creating category object with the static method getInstance(). I
have a question for you guys.
Is Category object is singleton. If so how can I use for logging
across mulitiple processes if it is singleton.
If use across multiple processes or JVMs it may try to write in to log
fil
Thanks Michael and Scott for explaining how this works to me. I do
appreciate it greatly, and it helps me understand. While I've been
hacking C for many years, I'm new to Java and struggling a bit with some
of this.
I guess I'm going a bit OT here, as this is a general JVM question, but
I'm tryin
Hi ,
i set MaxBackupIndex=1 , but i didn't get any backup file.
even if i set MaxBackupIndex=2 i didn't any backup file.
I don't Know is it is my mistake or a bug
Waht have i to do for getting the BacKup in addition to set the MaxBackupIndex and
call the rollOver() method
form RollingFileAppend
Well,
logging in EJBs is a little tricky and depends on the EJB container
implementation. According to Sun's EJB spec a EJB is not able
to write in a file. Unfortunatly, there are a few impementations
which don't behave like the spec. If you decide to use this bug, say
good by to portability.
Bu
Robert, I think we should share these thoughts with the authors. That's why I
forwarded it.
-- Forwarded Message --
Subject: Re: reloading configuration at runtime
Date: Wed, 04 Apr 2001 21:14:34 +0100
From: Robert Burrell Donkin <[EMAIL PROTECTED]>
To: Erik van Zijst <[EMAIL P
Sorry for the repost - hoping this was overlooked:
> -Original Message-
> From: Johnson, Clay [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 23, 2001 11:25 AM
> To: LOG4J Users Mailing List
> Subject: datetime formating
>
>
> Two (hopefully) quick questions:
>
> 1. Timezone in Patter
14 matches
Mail list logo