rg.apache.log4j.PatternLayout
# log4j.appender.LOG.layout.ConversionPattern=%d %p [%x %t] (%F\:%L) %c -
%m%n
log4j.appender.LOG.layout.ConversionPattern=%d %p [%x %t] - %m%n
log4j.appender.LOG.DatePattern='.'-MM-dd
Regards,
Tamir
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
idn't succeed to solve the
logging mystery.
Maybe some one can share a good configuration of the rolling appender?
Tnx in advance,
Tamir
-Original Message-
From: Tim Sawyer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 8:12 PM
To: Log4J Users List
Subject: RE: DailyRollingFi
Tnx,
Well, sometimes it do append (I've living logs from 24/4 and 16/4,
nothing between...)
I'll add it to my log4j and see what's going on tonight.
Maybe someone can point out where we can find the full syntax of
log4j.properties file.
regards,
Tamir
-Original Me
Hi,
In order to encourage other people to help, I'll say that you're not the
only one...
My properties file looks the same except for:
log4.appender.LOG.DatePattern='.'-MM-dd-a
(Try this one, maybe ??)
The rolling used to work, however, these days It just DELETES the previous
log file and cr
ation files are the same.
However, I still encounter problems doing so (only with tomcat 3.3.1 on
unix).
Hope someone can help me with that,
Regards,
Tamir
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 9:45 AM
To: Log4J Users List
Cc: [
ng used to work for me in the past. However, I don't know why
it ceased working.
Tnx in advance,
Tamir
Again, here is my log4j.properties:
#
#Mon Sep 24 15:29:29 IST 2001
log4j.rootCategory=DEBUG
log4j.categoryFactory=com.movious.log.DBCategoryFactory
# categories
log4j.category.com.movious=
ender [LOG].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
log4j:ERROR Either Filename or DatePattern options are not set for [LOG].
log4j:WARN Failed to set property threshold to value "ERROR". Conversion to
type
[class org.apache.log4j.Priority] failed.
leAppender appenders at real time, while
tomcat running.
2) I'm using tomcat auto-reload option, and I haven't finished checking yet,
whether log4j is reloaded
properly. (I suspect this!!!)
If anyone faced any problems connected to this, I'd appreciate your
response.
Tnx,
Tamir
H
remained..
The file category is LOG.
Thus, all the info that was logged was deleted!
(This stuff used to work ok, that's why I'm a little anxious about it...)
Thanks for any help,
Tamir
Here is my log4j.properties file:
#
#Mon Sep 24 15:29:29 IST 2001
log4j.rootCatego