3 Replies Latest reply on Jun 19, 2008 10:56 PM by 666705

    Change beasvc.exe default stdout log rotation parameters in WLS10.0

    666705
      Weblogic Server 10.0:
      I'm trying to change default log rotation parameters for weblogic server service as suggested here:
      http://edocs.bea.com/wls/docs100/server_start/winservice.html#wp1193277

      my installsvc.cmd contains:
      ....
      set ROTATION_TYPE = TIME
      set TIME_START_DATE = Jun 12 2008 15:07:00
      set TIME_INTERVAL_MINS = 3
      set STD_LOG=C:\logs\stdout.log
      beasvc.exe -install.... -log:"%STD_LOG%"
      ......

      This is the sniplet from the stdout.log:
      ......
      [Thu Jun 12 15:45:09 2008] [initLog] initializing logger
      [Thu Jun 12 15:45:09 2008] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
      [Thu Jun 12 15:45:09 2008] [E] [initLog] No 'TIME_START_DATE' header found or value is invalid. Rotation will take place every 24 hours beginning today at 23:59:59
      [Thu Jun 12 15:45:09 2008] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
      [Thu Jun 12 15:45:09 2008] [I] [initLog] TIME based log rotation is ON
      [Thu Jun 12 15:45:09 2008] [I] [trigger] First rotation due in 29690 secs
      [Thu Jun 12 15:45:09 2008] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
      [Thu Jun 12 15:45:09 2008] [I] [ServiceStart] About to execute CreateThread()
      .....
      the service then starts ok and works with default settings, but that's not what I'm looking for...

      any ideas are welcome ;)
      thanks!