How to monitor WebLogic std.out and std.err logs via WLSDM?
-
Hi,
We’re monitoring weblogic server logs, domain logs, HTTPAccessLogs very well by using WLSDM. How about out and err logs? I tried to use “user defined custom actions” but could not related with any JMX metrics. So, is there any way to monitor out and err logs via WLSDM?
Thanks in advance… -
Hi there,
It’s possible to redirect std.err and std.out log to “WebLogic Server Logs”. To do this, please follow below procedure.
On WebLogic console, go to “Servers > $Managed_Server_Name > Logging > Advanced” section. Then check below options. (Attached screen capture below)
- Redirect stdout logging enabled
- Redirect stderr logging enabled
Then restart relevant WebLogic managed servers. After that, you are able to use “WLSDM LogInspector” as monitoring WebLogic Server Logs. You can write your own WLDF query according to your “stdout” and “stderr” log messages.