logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wagner, Stefan" <Wag...@complan-und-service.de>
Subject Problem with FileAppender
Date Tue, 28 Oct 2008 14:31:08 GMT
Hey Folk,

 

we use log4j in many JSF projects, great framework. But on one system
the FileAppender works wrong in our system...

 

Here is my test configuration:

log4j.rootLogger=warn, R

log4j.appender.R=org.apache.log4j.RollingFileAppender

log4j.appender.R.File=./logs/example.log

log4j.appender.R.MaxFileSize=10KB # sure, normally that's s****

# Keep one backup file

log4j.appender.R.MaxBackupIndex=10

log4j.appender.R.layout=org.apache.log4j.PatternLayout

log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n

 

I tried everything, I just get one growing file (example.log), no
example.1, example.2 etc...

Also the file logs infos, although I changed it to warn level

But the information about the file location was used, even when I
changed it. (log4j.appender.R.File)

Is this a knewn phenomenon? Or could this be a problem of my system?

 

Thanks a lot

Stefan

 

 

_____________________________________________________________________
Sitz der Gesellschaft: Viernheim

Geschaftsfuhrer: Jurgen Gerbig, Werner Oestreicher

Amtsgericht: Darmstadt, Registerabteilung: Lampertheim, HRB 61943, USt-IdNr.: DE148419070

Diese Email enthalt vertrauliche und/oder rechtlich geschutzte Informationen. Wenn Sie 
nicht der richtige Adressat sind oder diese E-Mail irrtumlich erhalten haben, informieren

Sie bitte sofort den Absender und vernichten diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
 
This message is confidential and may contain privileged information. If you are not the
above named addressee or authorized to receive this message on behalf of the addressee,
please advise the sender immediately and delete this message. Any unauthorized copying,
disclosure or distribution of the information in this e-mail is strictly forbidden. 

Versand am 28.10.2008 15:31 von Wagner, Stefan


Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message