WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Websphere JVM Logs - Change Directory - Runtime

    Posted Mon March 03, 2014 02:38 PM
    Curious to know whether it is possible to change the log location of SystemOut.log and SystemErr.log in runtime(without restarting the server). The below documentation seems to suggest it is possible, but in the runtime tab of WAS ND I do not see any options. 


    From the Documentation

    View and modify the settings for the Java Virtual Machine (JVM) System.out and System.err logs for this managed process. The JVM logs are created by redirecting the System.out and System.err streams of the JVM to independent log files. The System.out log is used to monitor the health of the running application server. The System.err log contains exception stack trace information that is useful when performing problem analysis. There is one set of JVM logs for each application server and all of its applications. JVM logs are also created for the deployment manager and each node manager. Changes on the Configuration panel will apply when the server is restarted. Changes on the Runtime panel will apply immediately.

    pic.dhe.ibm.com/infocenter/wasinfo/v8r0/...


  • 2.  Websphere JVM Logs - Change Directory - Runtime

    Posted Tue March 04, 2014 05:37 PM
    Hi Mohan,

      You are right from documentation "Changes on the Runtime panel will apply immediately" seems to be posible to change without restarting but until my knowledge and reviewing WAS console you have the same message " Changes on the Runtime panel apply immediately." but from runtime tab you only can review the logs.
     
      If you use HPEL mode the logs are binary and you need to use logviewer, even that you can enable HPEL text log.
     
      I have done the test to change in runtime HPEL text log and works after uncheck and check "Enable text log" in runtime tab. I have change the directory not the name of the file.
     
      So seems that you need to switch to HPEL mode to get this feature.
     
      Hope this helps. Tell us if you need more support.
     
    regards


  • 3.  Websphere JVM Logs - Change Directory - Runtime

    Posted Wed March 05, 2014 10:43 PM
    Thanks for your time and research. We are not ready to move to HPEL yet. 

    Thanks Again!