Reply To: Pretty faces log messages

Splash Forums Rewrite Users Pretty faces log messages Reply To: Pretty faces log messages

#27352

simodrum
Participant

Thanks for the reply Christian.

I’m using the standard java.util.logging API in my application with standard configuration provided by the AS, so I guess that something changed in the new version. I prefer not to use log4j since is not necessary. Is there a way to “redefine” the logging behavior only for pretty config? Something like a specific logging property for pretty faces?

I found this configuration on the documentation

### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

log4j.rootLogger=warn, stdout

### Log for OCPsoft
log4j.logger.com.ocpsoft=info

but it is clearly referred to log4j.