aspose file tools*
The moose likes BEA/Weblogic and the fly likes how to rotate stdout file in weblogic 8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "how to rotate stdout file in weblogic 8.1" Watch "how to rotate stdout file in weblogic 8.1" New topic
Author

how to rotate stdout file in weblogic 8.1

Nik Goyal
Greenhorn

Joined: Aug 31, 2010
Posts: 2
Hi,

I am using weblogic 8.1 with SP5 on windows, I've created a log file to maintain all System.out.print messages, but the problem is that I am not able to rotate it when I restart the server and file size is growing.. here is the snippet that I m giving in StartWeblogic.bat file:

set JAVA_OPTIONS=C:\FOLDER\filename.log

-Dweblogic.Stdout=%JAVA_OPTIONS%

Any help will be highly appreciated.

Thanks
Nik
shashi bhat
Greenhorn

Joined: Sep 02, 2010
Posts: 3
Nik,

You can roll the log file by selecting the option Rotate log file on startup under, server->logging

Regards,
Shashi
Nik Goyal
Greenhorn

Joined: Aug 31, 2010
Posts: 2
Hi Shashi,

But there is no option of rolling log file under server->logging in WebLogic 8.1.

Regards,
Nik
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to rotate stdout file in weblogic 8.1
 
Similar Threads
Expression language in jsp- weblogic 8.1
Console does not show all new print outs to console, when code changes!
context root
log rotation problem
install and configure weblogic 12c