logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36858] New: - redundancy of lines in log files
Date Thu, 29 Sep 2005 09:05:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36858>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36858

           Summary: redundancy of lines in log files
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: cedric.bollet@atosorigin.com


hi there,
there's a weird bug in our soft. We use log4j and we log some statistics in 
files, and the lines we write in one of these log files are duplicated... 
sometimes a line is written 6 times, sometimes 11 times and be sure we don't 
use any loop in our code. For the other files, it works fines, is there any 
known issues about it? thx!

Here is the following .properties we use :


# ---- Sortie sur console -----------------
log4j.debug=false

# ---- Niveau de trace mini en sortie -----------------
log4j.threshold= WARN

log4j.logger.STATSPIDER = STATSPIDER ,sortie_stat

# --- Configuration de Log4J
log4j.rootLogger=WARN,A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{yyyy/MM/dd HH:mm:ss};%-5p;(%F:%
L);%m%n

# ---- Sortie sur fichier logs/StatisticLog.log --------
log4j.appender.sortie_stat = 
com.xxxxx.xxxxx.administration.common.logs.CustomDirectoryRollingFileAppender
log4j.appender.sortie_stat.DatePattern='.'yyyy-MM-dd
log4j.appender.sortie_stat.File=logs/StatisticLog.log
log4j.appender.sortie_stat.Encoding=ISO-8859-1
log4j.appender.sortie_stat.BufferedIO=false
log4j.appender.sortie_stat.Append=true
log4j.appender.sortie_stat.layout=org.apache.log4j.PatternLayout
log4j.appender.sortie_stat.layout.ConversionPattern=%d{yyyy/MM/dd HH:mm:ss};%-
5p;%m%n

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message