Moved properties files into WEB-INF/classes directory in contacts app. Jetty plugin attemps to load the log4j file from there when using mvn jetty:run.
This commit is contained in:
parent
944fcf1484
commit
01610bdd94
|
@ -0,0 +1,37 @@
|
|||
# Global logging configuration
|
||||
log4j.rootLogger=WARN, stdout, fileout
|
||||
|
||||
#log4j.logger.org.springframework.aop.framework.autoproxy=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.springframework.aop.framework.autoproxy.metadata=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.springframework.aop.framework.autoproxy.target=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.springframework.transaction.interceptor=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.intercept=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.intercept.method=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.intercept.web=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.afterinvocation=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.acl=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.acl.basic=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.taglibs.authz=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.ui.basicauth=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.ui.rememberme=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.ui=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.afterinvocation=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.ui.rmi=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.ui.httpinvoker=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.util=DEBUG, stdout, fileout
|
||||
#log4j.logger.org.acegisecurity.providers.dao=DEBUG, stdout, fileout
|
||||
log4j.logger.sample.contact=DEBUG, stdout, fileout
|
||||
|
||||
# Console output...
|
||||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.stdout.layout.conversionPattern=[%p,%c{1},%t] %m%n
|
||||
|
||||
# Rolling log file output...
|
||||
log4j.appender.fileout=org.apache.log4j.RollingFileAppender
|
||||
log4j.appender.fileout.File=contacts.log
|
||||
#log4j.appender.fileout.File=${webapp.root}/WEB-INF/log4j.log
|
||||
log4j.appender.fileout.MaxFileSize=1024KB
|
||||
log4j.appender.fileout.MaxBackupIndex=1
|
||||
log4j.appender.fileout.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.fileout.layout.conversionPattern=%d{ABSOLUTE} %5p %c{1},%t:%L - %m%n
|
|
@ -0,0 +1,6 @@
|
|||
err.name=Name 3-50 characters is required.
|
||||
err.email=Email 3-50 characters is required.
|
||||
err.permission=Permission is required.
|
||||
err.recipient=Recipient is required.
|
||||
err.permission.invalid=The indicated permission is invalid.
|
||||
err.recipient.length=The recipient is too long (maximum 100 characters).
|
Loading…
Reference in New Issue