FreeKB - Create or update the LOG_HOME variable in WebSphere
Create or update the LOG_HOME variable in WebSphere

Home > Search


By default, when using Basic Logging in WebSphere, certain log files such as SystemOut.log and SystemErr.log will be located at this directory.

${was_install_root}/profiles/your_profile/logs/your_server

 

This can be customized using the LOG_HOME variable, so that log files are written to a directory of your choosing. In the WebSphere admin console, select Servers > Server TypesWebSphere application servers > your_application_server > Java and Process Management > Process definition Java Virtual Machine  > Custom Properties > New. Create the LOG_HOME key with the directory where you want log files to reside. Restart the application server for the change to take effect.

In this example, logs will be written to the /usr/local/logs/was3 directory.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments