Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable logs in Websphere Application Server for debug in start-up script?

Is there any way through which we can enable debug logs in start up script of Websphere Application Server, preferably V8.5? A guy told me long back that there is a command we need to write in startServer.bat, I can't recall that.

I know how to enable logs through WAS admin console, viz. through 'logging and tracing', but how can I do that in start up script for debug? Kindly help.

like image 378
Ravish Rawat Avatar asked Nov 25 '25 02:11

Ravish Rawat


1 Answers

The -trace argument to the startServer script will cause the logs/<server>/startServer.log file to have additional details about the server start process (rather than the server process). See the startServer command topic in the Knowledge Center for additional information.

like image 94
Brett Kail Avatar answered Nov 27 '25 09:11

Brett Kail



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!