Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to rotate stdout file in weblogic 8.1

 
Nik Goyal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nik,

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

Regards,
Shashi
 
Nik Goyal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shashi,

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

Regards,
Nik
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic