This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Logging
Logging is one of the most important functions of a production-grade server. A properly configured logging system is vital for identifying errors, security threats, and usage patterns. WSO2 Identity Server uses a "log4j.properties"-based logging mechanism through the Apache Commons Logging facade library. The "log4j.properties" file which governs how logging is performed by the server can be found in the <IS_HOME>/repository/conf
directory.
Making any alterations to the default log4j.properties
file is not recommended.
The proper way to set up logging is via the Identity Server Management Console. Any changes to the logging configuration you make from the Management Console will take priority over the configuration settings defined in the actual log4j.properties
file.
A Logger is an object used to log messages for a specific system or application component. Loggers are typically named using a hierarchical dot-separated namespace and have a “child-parent” relationship. For example, the logger named "root.sv" is the parent of the logger named "root.sv.sf" and a child of “root.”
See also:
- Setting Up Logging
- System Logs in the "Monitor" section