java - Add appenders to WAS 6.1 logger -


i have old project made on httpservlets , located on ibm 6.1. project works slf4k-api , slf4j-jdk binding (i think jdk-binding binds was-specific jul implementation). need add appenders there logs (systemout.log, trace.log etc.) , logs specific every module of project. got know logging dont connected logging.properties in was's jre, dont have idea or how configure properties logger.

i tried search ibm online propose change log level through console every project or create properties file something(actually dont understand guide about).

next looked ibm guides, found guide how use jul, there not single word how configure it. (funny moment in article author wrote article configuration later, , after 3 years author wont make lol).

how configure logger?

p.s. please dont propose change api (jcl, log4j etc.). ty

edit 1: tried change jdk-binding log4j-binding, , works! dont produce it's standart logs(trace,systemout etc.)

you asked how configure logger. 1 note, websphere application server 6.1 went out of service on september 30, 2013, should consider moving application supported version of server. said, support authority article mention above says:

built-in logger level administration applications websphere application server provides way set level named jul loggers, including loggers create in own applications. jul logger levels can set using adminsitrative console, wsadmin, or jmx configuration.

the easiest way configure logging through admin console. there several topics in ibm knowledge center describing how so, tracing , logging configuration , configuring java logging using administrative console place start. basically, using admin console, you're going add tracespec string 1 or more logger specifications including package/module names , desired log levels them.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -