Sunday 14 June 2015

How to enable System.out.println messages in Weblogic server



Using System.out.println is common practice to debug issues in Java applications.

By default Weblogic server does not display the standard System.out.println messages. To enable those go to weblogic console http://<server-name>:port/console

Click Domain Name > Environments > Servers  > <Server-name> > Logging  and check the following options underAdvanced option.


Redirect stdout Logging enabled.(check mark)

Redirect stderr Logging enabled.(check mark)



Restart the specific managed server and now the System.out.println messages will be visible on the ServerName.log file which is commonly under domain_directory/servers/<server-name>/logs