Ravish Rawat
Ravish Rawat

Reputation: 478

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.

Upvotes: 3

Views: 1936

Answers (1)

Brett Kail
Brett Kail

Reputation: 33936

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.

Upvotes: 2

Related Questions