Changeset 4496


Ignore:
Timestamp:
Sep 10, 2008, 9:25:05 AM (14 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1116: Remove settings for jobagent.log and migration.log in log4j.properties

Location:
branches/2.8-stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8-stable/config/dist/log4j.properties

    r4187 r4496  
    44log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    55log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
    6 
    7 ### direct messages to file hibernate.log ###
    8 #log4j.appender.file=org.apache.log4j.FileAppender
    9 #log4j.appender.file.File=hibernate.log
    10 #log4j.appender.file.layout=org.apache.log4j.PatternLayout
    11 #log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
    12 
    13 ### direct messages to file migration.log ###
    14 log4j.appender.migfile=org.apache.log4j.FileAppender
    15 log4j.appender.migfile.File=migration.log
    16 log4j.appender.migfile.layout=org.apache.log4j.PatternLayout
    17 log4j.appender.migfile.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
    18 
    19 ### Job agent log is written to jobagent.log in working directory ###
    20 log4j.appender.jobagent=org.apache.log4j.FileAppender
    21 log4j.appender.jobagent.File=jobagent.log
    22 log4j.appender.jobagent.layout=org.apache.log4j.PatternLayout
    23 log4j.appender.jobagent.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
    246
    257### set log levels - for more verbose logging change 'info' to 'debug' ###
     
    6547# -----------------
    6648#log4j.logger.net.sf.basedb.clients.migrate=warn
    67 log4j.logger.net.sf.basedb.clients.migrate=warn, migfile
     49log4j.logger.net.sf.basedb.clients.migrate=warn
    6850
    6951# -----------------
    7052# Job agent loggers
    7153# -----------------
    72 log4j.logger.net.sf.basedb.clients.jobagent=warn, jobagent
     54log4j.logger.net.sf.basedb.clients.jobagent=warn
    7355
    7456# -----------------
  • branches/2.8-stable/src/clients/jobagent/net/sf/basedb/clients/jobagent/Agent.java

    r4478 r4496  
    210210  */
    211211  public static final int DEFAULT_CHECK_INTERVAL = 30;
    212  
    213   static
    214   {
    215     org.apache.log4j.LogManager.getLogger("net.sf.basedb.clients.jobagent").setAdditivity(false);
    216   }
    217212 
    218213  /**
  • branches/2.8-stable/src/clients/jobagent/net/sf/basedb/clients/jobagent/AgentController.java

    r4478 r4496  
    5151public class AgentController
    5252{
    53   static
    54   {
    55     org.apache.log4j.LogManager.getLogger("net.sf.basedb.clients.jobagent").setAdditivity(false);
    56   }
    57  
     53
    5854  /**
    5955    Log job agent events.
Note: See TracChangeset for help on using the changeset viewer.