1

In this link, they explain how to generate a new log file without restarting sql server: http://blog.sqlauthority.com/2010/11/09/sql-server-recycle-error-log-create-new-log-file-without-server-restart/

Is there a way to generate a new SystemOut.log file without restarting the WebSphere application server?

Victor
  • 16,609
  • 71
  • 229
  • 409

2 Answers2

1

You can configure the "maximum size" and "maximum number of historical log files". See the Java virtual machine (JVM) log settings article in the InfoCenter.

Additionally, you can force an immediate rollover of the logs using the rolloverLogFileImmediate operation of the TraceService MBean.

Brett Kail
  • 33,593
  • 2
  • 85
  • 90
0

Here is what I usually do in a Development environments in Unix.

Whenever I need fresh files, I simply do a echo > SystemOut.log and this simply works well for most development purposes.

Obviously, you can't do this in other environments.

Manglu
  • 10,744
  • 12
  • 44
  • 57