• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to rotate stdout file in weblogic 8.1

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic