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.  Log root for Webspshere

    Posted Tue September 01, 2015 06:10 PM
    I have JVM running  in WAS 8.5.5 and I have the SERVER_LOG_ROOT  set to my choice. Now there is an application installed on this JVM which is using log4j to write application logs, it has something like this ${server.log.root}/application.log set in the log4j.xml file.  I do not have this variable defined in the environment variables or a custom property, but  the application log files are being written to the  profile home directory which /opt/IBM/WebSphere/AppServer/profiles/name/application.log.

    when I look for the details on the  process id  I see -Dserver.root  set but not the server.log.root. Any idea where this value for server.log.root picked up from ?  


  • 2.  Log root for Webspshere

    Posted Fri September 04, 2015 09:48 AM
    Hi WASUser,

    Nice question. I too want to know where exactly does it pick from. I had also come across a similar situation wherein a variable was not declared in shared variables area but still used somewhere else.
    Can anybody throw light on this please?

    Regards


  • 3.  Log root for Webspshere

    Posted Fri September 04, 2015 09:50 AM
    Hi WASUser,

    Nice question. I too want to know from where does it pick from. I had also come across similar situation wherein a variable was used somewhere and was not at all declared under shared variables.

    Can somebody throw light on this?

    Regards