|
From: Leif M. <lei...@ta...> - 2010-03-30 02:24:29
|
Naresh, The Wrapper's logging works by capturing ALL console output form the JVM and logging it in the wrapper.log as is at the INFO log level. It is not possible for us to tell exactly where the log output is coming from within the Java application. We recommend that you make use of a logging tool like log4j, jdk 1.4 logging, or logkit to handle the specific type of logging that you are requesting. These tools work from within the JVM to control logging on a fine level. You can still pipe that log output to the console, or send it directly to another log file, bypassing the console all together if you wish. http://logging.apache.org/log4j/1.2/index.html Cheers, Leif On Tue, Mar 30, 2010 at 7:28 AM, naresh tallapelli < nar...@ya...> wrote: > Hi All, > > My Name is Naresh. I am new to wrapper and try to use it for my project. I > just want to log the messages in "wrapper.log". When i set > "wrapper.logfile.loglevel" property value to "INFO" it is writing all the > info messages to "wrapper.log". > > But is there any way to specify to log "com.example.x" package logs at > "ERROR" level and other packages at "INFO" level. I did not find any > required information on web. So please help me resolve to this issue. > > Any help would be much appreciated. > > Thank you, > Naresh. > > |