wood burning stoves 2.0*
The moose likes Websphere and the fly likes send server output to log file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "send server output to log file" Watch "send server output to log file" New topic

send server output to log file

Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455

Can anyone tell me how to send the data that are printed on RAD (Rational Application Developer) to a log/txt file. My understanding is that RAD uses apache commons-logging as the wrapper class and it makes use of JDK14Logger to prining the log details on RAD console. Is is possible to configure the setting so that the log details will get printed on a file rather than displaying on the console window. I created a file named logging.properties and kept it in the server classpath

# logging.properties#
jdk handlershandlers=java.util.logging.ConsoleHandler java.util.logging.FileHandler
# default log level
# log level for the "DEBUG" logger
# log file name for the FileHandler

but its still not working

Appretiate any comments / suggestions ..


SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
i didnt look at the Admin Console.. The option was there to set it.. sorry guys !!
It is sorta covered in the JavaRanch Style Guide.
subject: send server output to log file
Similar Threads
Logging "FINEST" messages using java Logger
Using jdk1.4 logging api with weblogic
java.util.logger configuration
How to setup Tomcat Server log
How to cionfigure Tomcat Server Log