logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "P.Raghav" <raghavendra.po...@chase.com>
Subject How to avoid old dates log files(0 bytes) creation every day--Using Log4J API
Date Mon, 24 Jan 2011 10:25:32 GMT


I have been using LOG4j for quiet a long time, but recently found some
change in the behaviour of LOG4J. 
Issue: Many log files are getting created every day with 0 bytes. Along with
todays date, log files of past date are getting created daily.
I can see many log files(with timestamp as name) created in logs folder
starting from 10-oct-2010 to present day. 
I dont know why i am facing this issue.
I have pasted the log4j settings and files generated because of this issue.
Log4J Settings
----------------
LOG4J- Settings: 
  

    
!     
!     
!     
      
        
      
--- 4,12 ----
  

    
!     
!     
!     
      
        
      
***************
*** 13,21 ****
    

    
!     
!     
!     
      
        
      
--- 13,21 ----
    

    
!     
!     
!     
      
        
      
***************
*** 22,28 ****
    

    
!     
      
      
      
--- 22,28 ----
    

    
!     
      
      
      
***************
*** 49,65 ****
    

    
!     
      
    

    
!     
      
    

    
!     
      
    
  
--- 49,65 ----
    

    
!     
      
    

    
!     
      
    

    
!     
      
    
  

  Files:
  ---------
 0 Jan 23 00:00 LOG_20101002_agent.log
 0 Jan 23 00:00 LOG_20101003_agent.log
 0 Jan 23 00:00 LOG_20101004_agent.log
 0 Jan 23 00:00 LOG_20101005_agent.log
 0 Jan 23 00:00 LOG_20101006_agent.log
 0 Jan 23 00:00 LOG_20101007_agent.log
 0 Jan 23 00:00 LOG_20101008_agent.log
 0 Jan 23 00:00 LOG_20101009_agent.log
 0 Jan 23 00:00 LOG_20101010_agent.log
 0 Jan 23 00:00 LOG_20101011_agent.log
 0 Jan 23 00:00 LOG_20101012_agent.log
 0 Jan 23 00:00 LOG_20101013_agent.log
 0 Jan 23 00:00 LOG_20101014_agent.log
 0 Jan 23 00:00 LOG_20101015_agent.log
 0 Jan 23 00:00 LOG_20101016_agent.log
 0 Jan 23 00:00 LOG_20101017_agent.log
 0 Jan 23 00:00 LOG_20101018_agent.log
 0 Jan 23 00:00 LOG_20101019_agent.log
 0 Jan 23 00:00 LOG_20101020_agent.log
 0 Jan 23 00:00 LOG_20101021_agent.log
 0 Jan 23 00:00 LOG_20101022_agent.log
 0 Jan 23 00:00 LOG_20101023_agent.log
 0 Jan 23 00:00 LOG_20101024_agent.log
 0 Jan 23 00:00 LOG_20101025_agent.log
 0 Jan 23 00:00 LOG_20101026_agent.log
 0 Jan 23 00:00 LOG_20101027_agent.log
 0 Jan 23 00:00 LOG_20101028_agent.log
 0 Jan 23 00:00 LOG_20101029_agent.log
 0 Jan 23 00:00 LOG_20101030_agent.log
 0 Jan 23 00:00 LOG_20101031_agent.log
 0 Jan 23 00:00 LOG_20101101_agent.log
 0 Jan 23 00:00 LOG_20101102_agent.log
 0 Jan 23 00:00 LOG_20101103_agent.log
 0 Jan 23 00:00 LOG_20101104_agent.log
 0 Jan 23 00:00 LOG_20101105_agent.log
 0 Jan 23 00:00 LOG_20101106_agent.log
 0 Jan 23 00:00 LOG_20101107_agent.log
 0 Jan 23 00:00 LOG_20101108_agent.log
 0 Jan 23 00:00 LOG_20101109_agent.log
 0 Jan 23 00:00 LOG_20101110_agent.log
 0 Jan 23 00:00 LOG_20101111_agent.log
 0 Jan 23 00:00 LOG_20101112_agent.log
 0 Jan 23 00:00 LOG_20101113_agent.log
 0 Jan 23 00:00 LOG_20101114_agent.log
 0 Jan 23 00:00 LOG_20101115_agent.log
 0 Jan 23 00:00 LOG_20101116_agent.log
 0 Jan 23 00:00 LOG_20101117_agent.log
 0 Jan 23 00:00 LOG_20101118_agent.log
 0 Jan 23 00:00 LOG_20101119_agent.log
 0 Jan 23 00:00 LOG_20101120_agent.log
 0 Jan 23 00:00 LOG_20101121_agent.log
 0 Jan 23 00:00 LOG_20101122_agent.log
 0 Jan 23 00:00 LOG_20101123_agent.log
 0 Jan 23 00:00 LOG_20101124_agent.log
 0 Jan 23 00:00 LOG_20101125_agent.log
 0 Jan 23 00:00 LOG_20101126_agent.log
 0 Jan 23 00:00 LOG_20101127_agent.log
 0 Jan 23 00:00 LOG_20101128_agent.log
 0 Jan 23 00:00 LOG_20101129_agent.log
 0 Jan 23 00:00 LOG_20101130_agent.log
 0 Jan 23 00:00 LOG_20101201_agent.log
 0 Jan 23 00:00 LOG_20101202_agent.log
 0 Jan 23 00:00 LOG_20101203_agent.log
 0 Jan 23 00:00 LOG_20101204_agent.log
 0 Jan 23 00:00 LOG_20101205_agent.log
 0 Jan 23 00:00 LOG_20101206_agent.log
 0 Jan 23 00:00 LOG_20101207_agent.log
 0 Jan 23 00:00 LOG_20101208_agent.log
 0 Jan 23 00:00 LOG_20101209_agent.log
 0 Jan 23 00:00 LOG_20101210_agent.log
 0 Jan 23 00:00 LOG_20101211_agent.log
 0 Jan 23 00:00 LOG_20101212_agent.log
 0 Jan 23 00:00 LOG_20101213_agent.log
 0 Jan 23 00:00 LOG_20101214_agent.log
 0 Jan 23 00:00 LOG_20101215_agent.log
 0 Jan 23 00:00 LOG_20101216_agent.log
 0 Jan 23 00:00 LOG_20101217_agent.log
 0 Jan 23 00:00 LOG_20101218_agent.log
 0 Jan 23 00:00 LOG_20101219_agent.log
 0 Jan 23 00:00 LOG_20101220_agent.log
 0 Jan 23 00:00 LOG_20101221_agent.log
 0 Jan 23 00:00 LOG_20101222_agent.log
 0 Jan 23 00:00 LOG_20101223_agent.log
 0 Jan 23 00:00 LOG_20101224_agent.log
 0 Jan 23 00:00 LOG_20101225_agent.log
 0 Jan 23 00:00 LOG_20101226_agent.log
 0 Jan 23 00:00 LOG_20101227_agent.log
 0 Jan 23 00:00 LOG_20101228_agent.log
 0 Jan 23 00:00 LOG_20101229_agent.log
 0 Jan 23 00:00 LOG_20101230_agent.log
 0 Jan 23 00:00 LOG_20101231_agent.log
 0 Jan 23 00:00 LOG_20110101_agent.log
 0 Jan 23 00:00 LOG_20110102_agent.log
 0 Jan 23 00:00 LOG_20110103_agent.log
 0 Jan 23 00:00 LOG_20110104_agent.log
 0 Jan 23 00:00 LOG_20110105_agent.log
 0 Jan 23 00:00 LOG_20110106_agent.log
 0 Jan 23 00:00 LOG_20110107_agent.log
 0 Jan 23 00:00 LOG_20110108_agent.log
 0 Jan 23 00:00 LOG_20110109_agent.log
 0 Jan 23 00:00 LOG_20110110_agent.log
 0 Jan 23 00:00 LOG_20110111_agent.log
 0 Jan 23 00:00 LOG_20110112_agent.log
 0 Jan 23 00:00 LOG_20110113_agent.log
 0 Jan 23 00:00 LOG_20110114_agent.log
 0 Jan 23 00:00 LOG_20110115_agent.log
 0 Jan 23 00:00 LOG_20110116_agent.log
 0 Jan 23 00:00 LOG_20110117_agent.log
 0 Jan 23 00:00 LOG_20110118_agent.log
 0 Jan 23 00:00 LOG_20110119_agent.log
 0 Jan 23 00:00 LOG_20110120_agent.log
 0 Jan 23 00:00 LOG_20110121_agent.log
 0 Jan 23 00:00 LOG_20110122_agent.log
 0 Jan 23 02:30 LOG_20110123_agent.log
 0 Jan 24 02:11 LOG_20110124_agent.log

-- 
View this message in context: http://old.nabble.com/How-to-avoid-old-dates-log-files%280-bytes%29-creation-every-day--Using-Log4J-API-tp30747192p30747192.html
Sent from the Log4j - Dev mailing list archive at Nabble.com.

Mime
View raw message