logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Kemp" <mattk...@gmail.com>
Subject Re: How to disable the struts logging?
Date Wed, 17 Oct 2007 14:24:41 GMT
If you want to make struts not log info messages use:

log4j.logger.org.apache.struts=WARN, stdout

If you want to disable struts logging entirely use:

log4j.logger.org.apache.struts=OFF, stdout



On 10/17/07, Pamarthi, Ramakrishna <rk.pamarthi@hp.com> wrote:
>
> Hi,
>
> My application logging the following messages in log file.
>
> Oct 17, 2007 5:33:21 PM org.apache.struts.util.PropertyMessageResources
> <init>
>
> INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings',
> returnNull=true
>
> How to disable this ?
>
>
> Here is my log4j.properties:
>
> # Set root logger level to DEBUG and its only appender to A1.
>
> #log4j.rootLogger=INFO, stdout, logfile , errorfile
>
> #log4j.rootLogger=DEBUG, stdout, file
>
> log4j.rootLogger=ERROR, stdout, logfile , errorfile
>
> # 'stdout' is set to be a ConsoleAppender.
>
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
>
> # 'stdout' uses PatternLayout
>
> log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.stdout.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss}
> *%-5p* [%t] %c{1}: %m (%F, line %L)\n
>
> # 'file' is set to be a FileAppender.
>
> log4j.appender.file=org.apache.log4j.FileAppender
>
> log4j.appender.file.File=C:/OCSWORKSPACE/OCS_WEB/logs/jcr.log
>
> # 'file' uses PatternLayout.
>
> log4j.appender.file.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.file.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss}
> *%-5p* [%t] %c{1}: %m (%F, line %L)\n
>
> ###############################
>
> # LogFile
>
> ###############################
>
> # 'error' is set to be a FileAppender.
>
> log4j.appender.logfile=org.apache.log4j.RollingFileAppender
>
> log4j.appender.logfile.File=C:/OCSWORKSPACE/OCS_WEB/logs/logFile.log
>
> log4j.appender.errorfile.Threshold=ERROR
>
> # Control the maximum log file size
>
> log4j.appender.logfile.MaxFileSize=10000KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.logfile.MaxBackupIndex=5
>
> # 'error' uses PatternLayout.
>
> log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.logfile.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss}
> *%-5p* [%t] %c{1}: %m (%F, line %L)\n
>
> ###############################
>
> # ErrorFile
>
> ###############################
>
> # 'error' is set to be a FileAppender.
>
> log4j.appender.errorfile=org.apache.log4j.RollingFileAppender
>
> log4j.appender.errorfile.File=C:/OCSWORKSPACE/OCS_WEB/logs/errorFile.log
>
> log4j.appender.errorfile.Threshold=ERROR
>
> # Control the maximum log file size
>
> log4j.appender.errorfile.MaxFileSize=10000KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.errorfile.MaxBackupIndex=2
>
> # 'error' uses PatternLayout.
>
> log4j.appender.errorfile.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.errorfile.layout.ConversionPattern=%d{dd.MM.yyyy
> HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L)\n
>
>
>
> # Logger for modules
>
> ###############################
>
> # AbstractSharedAction
>
> ###############################
>
> log4j.logger.AbstractSharedAction = ERROR, AbstractSharedAction
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.AbstractSharedAction=org.apache.log4j.RollingFileAppender
>
> log4j.appender.AbstractSharedAction.File=C:/OCSWORKSPACE/OCS_WEB/logs/Ab
> stractSharedAction.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractSharedAction.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractSharedAction.MaxBackupIndex=2
>
> # AbstractSharedAction uses PatternLayout.
>
> log4j.appender.AbstractSharedAction.layout=org.apache.log4j.PatternLayou
> t
>
> log4j.appender.AbstractSharedAction.layout.ConversionPattern=%d{dd.MM.yy
> yy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # AbstractFrontEndAction
>
> ###############################
>
> log4j.logger.AbstractFrontEndAction = ERROR, AbstractFrontEndAction
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.AbstractFrontEndAction=org.apache.log4j.RollingFileAppend
> er
>
> log4j.appender.AbstractFrontEndAction.File=C:/OCSWORKSPACE/OCS_WEB/logs/
> AbstractFrontEndAction.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractFrontEndAction.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractFrontEndAction.MaxBackupIndex=2
>
> # AbstractFrontEndAction uses PatternLayout.
>
> log4j.appender.AbstractFrontEndAction.layout=org.apache.log4j.PatternLay
> out
>
> log4j.appender.AbstractFrontEndAction.layout.ConversionPattern=%d{dd.MM.
> yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # AbstractBackEndAction
>
> ###############################
>
> log4j.logger.AbstractBackEndAction = ERROR, AbstractBackEndAction
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.AbstractBackEndAction=org.apache.log4j.RollingFileAppende
> r
>
> log4j.appender.AbstractBackEndAction.File=C:/OCSWORKSPACE/OCS_WEB/logs/A
> bstractBackEndAction.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractBackEndAction.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractBackEndAction.MaxBackupIndex=2
>
> # AbstractBackEndAction uses PatternLayout.
>
> log4j.appender.AbstractBackEndAction.layout=org.apache.log4j.PatternLayo
> ut
>
> log4j.appender.AbstractBackEndAction.layout.ConversionPattern=%d{dd.MM.y
> yyy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # AbstractFrontEndMachineActor
>
> ###############################
>
> log4j.logger.AbstractFrontEndMachineActor = ERROR,
> AbstractFrontEndMachineActor
>
> # AbstractFrontEndMachineActor is set to be a FileAppender.
>
> log4j.appender.AbstractFrontEndMachineActor=org.apache.log4j.RollingFile
> Appender
>
> log4j.appender.AbstractFrontEndMachineActor.File=C:/OCSWORKSPACE/OCS_WEB
> /logs/AbstractFrontEndMachineActor.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractFrontEndMachineActor.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractFrontEndMachineActor.MaxBackupIndex=2
>
> # AbstractFrontEndMachineActor uses PatternLayout.
>
> log4j.appender.AbstractFrontEndMachineActor.layout=org.apache.log4j.Patt
> ernLayout
>
> log4j.appender.AbstractFrontEndMachineActor.layout.ConversionPattern=%d{
> dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # AbstractMemberGeneral
>
> ###############################
>
> log4j.logger.AbstractMemberGeneral = ERROR, AbstractMemberGeneral
>
> # AbstractMemberGeneral is set to be a FileAppender.
>
> log4j.appender.AbstractMemberGeneral=org.apache.log4j.RollingFileAppende
> r
>
> log4j.appender.AbstractMemberGeneral.File=C:/OCSWORKSPACE/OCS_WEB/logs/A
> bstractMemberGeneral.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractMemberGeneral.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractMemberGeneral.MaxBackupIndex=2
>
> # AbstractMemberGeneral uses PatternLayout.
>
> log4j.appender.AbstractMemberGeneral.layout=org.apache.log4j.PatternLayo
> ut
>
> log4j.appender.AbstractMemberGeneral.layout.ConversionPattern=%d{dd.MM.y
> yyy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # AbstractMemberProduct
>
> ###############################
>
> log4j.logger.AbstractMemberProduct = ERROR, AbstractMemberProduct
>
> # AbstractMemberGeneral is set to be a FileAppender.
>
> log4j.appender.AbstractMemberProduct=org.apache.log4j.RollingFileAppende
> r
>
> log4j.appender.AbstractMemberProduct.File=C:/OCSWORKSPACE/OCS_WEB/logs/A
> bstractMemberProduct.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractMemberProduct.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractMemberProduct.MaxBackupIndex=2
>
> # AbstractMemberGeneral uses PatternLayout.
>
> log4j.appender.AbstractMemberProduct.layout=org.apache.log4j.PatternLayo
> ut
>
> log4j.appender.AbstractMemberProduct.layout.ConversionPattern=%d{dd.MM.y
> yyy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # AbstractUnauthenticatedUser
>
> ###############################
>
> log4j.logger.AbstractUnauthenticatedUser = ERROR,
> AbstractUnauthenticatedUser
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.AbstractUnauthenticatedUser=org.apache.log4j.RollingFileA
> ppender
>
> log4j.appender.AbstractUnauthenticatedUser.File=C:/OCSWORKSPACE/OCS_WEB/
> logs/AbstractUnauthenticatedUser.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractUnauthenticatedUser.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractUnauthenticatedUser.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.AbstractUnauthenticatedUser.layout=org.apache.log4j.Patte
> rnLayout
>
> log4j.appender.AbstractUnauthenticatedUser.layout.ConversionPattern=%d{d
> d.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # AbstractAdministrator
>
> ###############################
>
> log4j.logger.AbstractAdministrator = ERROR, AbstractAdministrator
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.AbstractAdministrator=org.apache.log4j.RollingFileAppende
> r
>
> log4j.appender.AbstractAdministrator.File=C:/OCSWORKSPACE/OCS_WEB/logs/A
> bstractAdministrator.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractAdministrator.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractAdministrator.MaxBackupIndex=2
>
> # AbstractAdministrator uses PatternLayout.
>
> log4j.appender.AbstractAdministrator.layout=org.apache.log4j.PatternLayo
> ut
>
> log4j.appender.AbstractAdministrator.layout.ConversionPattern=%d{dd.MM.y
> yyy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # AbstractFrontEndMachineActor
>
> ###############################
>
> log4j.logger.AbstractFrontEndMachineActor = ERROR,
> AbstractFrontEndMachineActor
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.AbstractFrontEndMachineActor=org.apache.log4j.RollingFile
> Appender
>
> log4j.appender.AbstractFrontEndMachineActor.File=C:/OCSWORKSPACE/OCS_WEB
> /logs/AbstractFrontEndMachineActor.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractFrontEndMachineActor.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractFrontEndMachineActor.MaxBackupIndex=2
>
> # AbstractFrontEndMachineActor uses PatternLayout.
>
> log4j.appender.AbstractFrontEndMachineActor.layout=org.apache.log4j.Patt
> ernLayout
>
> log4j.appender.AbstractFrontEndMachineActor.layout.ConversionPattern=%d{
> dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # AbstractContentManagement
>
> ###############################
>
> log4j.logger.AbstractContentManagement = ERROR,
> AbstractContentManagement
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.AbstractContentManagement=org.apache.log4j.RollingFileApp
> ender
>
> log4j.appender.AbstractContentManagement.File=C:/OCSWORKSPACE/OCS_WEB/lo
> gs/AbstractContentManagement.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractContentManagement.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractContentManagement.MaxBackupIndex=2
>
> # AbstractFrontEndMachineActor uses PatternLayout.
>
> log4j.appender.AbstractContentManagement.layout=org.apache.log4j.Pattern
> Layout
>
> log4j.appender.AbstractContentManagement.layout.ConversionPattern=%d{dd.
> MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # AbstractEmailBlasting
>
> ###############################
>
> log4j.logger.AbstractEmailBlasting = ERROR, AbstractEmailBlasting
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.AbstractEmailBlasting=org.apache.log4j.RollingFileAppende
> r
>
> log4j.appender.AbstractEmailBlasting.File=C:/OCSWORKSPACE/OCS_WEB/logs/A
> bstractEmailBlasting.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractEmailBlasting.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractEmailBlasting.MaxBackupIndex=2
>
> # AbstractEmailBlasting uses PatternLayout.
>
> log4j.appender.AbstractEmailBlasting.layout=org.apache.log4j.PatternLayo
> ut
>
> log4j.appender.AbstractEmailBlasting.layout.ConversionPattern=%d{dd.MM.y
> yyy HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # AbstractReporting
>
> ###############################
>
> log4j.logger.AbstractReporting = ERROR, AbstractReporting
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.AbstractReporting=org.apache.log4j.RollingFileAppender
>
> log4j.appender.AbstractReporting.File=C:/OCSWORKSPACE/OCS_WEB/logs/Abstr
> actReporting.log
>
> # Control the maximum log file size
>
> log4j.appender.AbstractEmailBlasting.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.AbstractReporting.MaxBackupIndex=2
>
> # AbstractEmailBlasting uses PatternLayout.
>
> log4j.appender.AbstractReporting.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.AbstractReporting.layout.ConversionPattern=%d{dd.MM.yyyy
> HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # DataAccess
>
> ###############################
>
> log4j.logger.DataAccess = ERROR, DataAccess
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.DataAccess=org.apache.log4j.RollingFileAppender
>
> log4j.appender.DataAccess.File=C:/OCSWORKSPACE/OCS_WEB/logs/DataAccess.l
> og
>
> # Control the maximum log file size
>
> log4j.appender.DataAccess.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.DataAccess.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.DataAccess.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.DataAccess.layout.ConversionPattern=%d{dd.MM.yyyy
> HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # Init
>
> ###############################
>
> log4j.logger.Init = ERROR, Init
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.Init=org.apache.log4j.RollingFileAppender
>
> log4j.appender.Init.File=C:/OCSWORKSPACE/OCS_WEB/logs/Init.log
>
> # Control the maximum log file size
>
> log4j.appender.Init.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.Init.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.Init.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.Init.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss}
> *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # Filter
>
> ###############################
>
> log4j.logger.Filter = ERROR, Filter
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.Filter=org.apache.log4j.RollingFileAppender
>
> log4j.appender.Filter.File=C:/OCSWORKSPACE/OCS_WEB/logs/Init.log
>
> # Control the maximum log file size
>
> log4j.appender.Filter.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.Filter.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.Filter.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.Filter.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss}
> *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # Omniture
>
> ###############################
>
> log4j.logger.Omniture = ERROR, Omniture
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.Omniture=org.apache.log4j.RollingFileAppender
>
> log4j.appender.Omniture.File=C:/OCSWORKSPACE/OCS_WEB/logs/Omniture.log
>
> # Control the maximum log file size
>
> log4j.appender.Omniture.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.Omniture.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.Omniture.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.Omniture.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss}
> *%-5p* [%t] %c{1}: %m \n
>
>
>
>
>
> ###############################
>
> # FrontEndTracking
>
> ###############################
>
> log4j.logger.FrontEndTracking = ERROR, FrontEndTracking
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.FrontEndTracking=org.apache.log4j.RollingFileAppender
>
> log4j.appender.FrontEndTracking.File=C:/OCSWORKSPACE/OCS_WEB/logs/FrontE
> ndTracking.log
>
> # Control the maximum log file size
>
> log4j.appender.FrontEndTracking.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.FrontEndTracking.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.FrontEndTracking.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.FrontEndTracking.layout.ConversionPattern=%d{dd.MM.yyyy
> HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # BusinessRules
>
> ###############################
>
> log4j.logger.BusinessRules = ERROR, BusinessRules
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.BusinessRules=org.apache.log4j.RollingFileAppender
>
> log4j.appender.BusinessRules.File=C:/OCSWORKSPACE/OCS_WEB/logs/BusinessR
> ules.log
>
> # Control the maximum log file size
>
> log4j.appender.BusinessRules.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.BusinessRules.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.BusinessRules.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.BusinessRules.layout.ConversionPattern=%d{dd.MM.yyyy
> HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # EmailSending
>
> ###############################
>
> log4j.logger.EmailSending = ERROR, EmailSending
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.EmailSending=org.apache.log4j.RollingFileAppender
>
> log4j.appender.EmailSending.File=C:/OCSWORKSPACE/OCS_WEB/logs/EmailSendi
> ng.log
>
> # Control the maximum log file size
>
> log4j.appender.EmailSending.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.EmailSending.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.EmailSending.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.EmailSending.layout.ConversionPattern=%d{dd.MM.yyyy
> HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # EmailSending
>
> ###############################
>
> log4j.logger.EmailBlast = ERROR, EmailBlast
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.EmailBlast=org.apache.log4j.RollingFileAppender
>
> log4j.appender.EmailBlast.File=C:/OCSWORKSPACE/OCS_WEB/logs/EmailBlast.l
> og
>
> # Control the maximum log file size
>
> log4j.appender.EmailBlast.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.EmailBlast.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.EmailBlast.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.EmailBlast.layout.ConversionPattern=%d{dd.MM.yyyy
> HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # PartnerManager
>
> ###############################
>
> log4j.logger.PartnerManager = ERROR, PartnerManager
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.PartnerManager=org.apache.log4j.RollingFileAppender
>
> log4j.appender.PartnerManager.File=C:/OCSWORKSPACE/OCS_WEB/logs/PartnerM
> anager.log
>
> # Control the maximum log file size
>
> log4j.appender.PartnerManager.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.PartnerManager.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.PartnerManager.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.PartnerManager.layout.ConversionPattern=%d{dd.MM.yyyy
> HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # UserManager
>
> ###############################
>
> log4j.logger.UserManager = ERROR, UserManager
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.UserManager=org.apache.log4j.RollingFileAppender
>
> log4j.appender.UserManager.File=C:/OCSWORKSPACE/OCS_WEB/logs/UserManager
> .log
>
> # Control the maximum log file size
>
> log4j.appender.UserManager.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.UserManager.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.UserManager.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.UserManager.layout.ConversionPattern=%d{dd.MM.yyyy
> HH:mm:ss} *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # Training
>
> ###############################
>
> log4j.logger.Training = ERROR, Training
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.Training=org.apache.log4j.RollingFileAppender
>
> log4j.appender.Training.File=C:/OCSWORKSPACE/OCS_WEB/logs/Training.log
>
> # Control the maximum log file size
>
> log4j.appender.Training.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.Training.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.Training.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.Training.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss}
> *%-5p* [%t] %c{1}: %m \n
>
>
>
> ###############################
>
> # Voucher
>
> ###############################
>
> log4j.logger.Voucher = ERROR, Voucher
>
> # AbstractUnauthenticatedUser is set to be a FileAppender.
>
> log4j.appender.Voucher=org.apache.log4j.RollingFileAppender
>
> log4j.appender.Voucher.File=C:/OCSWORKSPACE/OCS_WEB/logs/Voucher.log
>
> # Control the maximum log file size
>
> log4j.appender.Voucher.MaxFileSize=100KB
>
> # Archive log files (2 backup file here)
>
> log4j.appender.Voucher.MaxBackupIndex=2
>
> # AbstractUnauthenticatedUser uses PatternLayout.
>
> log4j.appender.Voucher.layout=org.apache.log4j.PatternLayout
>
> log4j.appender.Voucher.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss}
> *%-5p* [%t] %c{1}: %m \n
>
> ###############################
>
> # Hibernate
>
> ###############################
>
> log4j.logger.net.sf.hibernate = DEBUG, stdout, errorfile
>
> log4j.logger.net.sf.hibernate.sql = DEBUG, stdout, errorfile
>
>
> Best Regards,
> RK
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message