The platform logging is compliant with the most common Java logging frameworks: Log4J, SLF4J and JUL.
Logging in Athento ECM is configured through a Log4J XML file: $NUXEO_HOME/lib/log4j.xml
Editing that file, you can set the logging rules (log level per file and component, files rotation, etc...).
Log4J log levels are: ERROR, WARN, INFO, DEBUG and TRACE.
You can increase or decrease the logs for specific services. Here are some useful categories:
org.nuxeo.runtime.deployment.preprocessor
org.nuxeo.osgi.application.loader
org.nuxeo.runtime.osgi
- Preprocessor: DeploymentPreprocessor logs the pre-processing order,
- Application Loader: FrameworkLoader writes the configuration summary,
- Runtime OSGi: OSGiRuntimeService provides the final startup summary.
The log files location depends on the nuxeo.log.dir parameter
.
By default, Nuxeo generates the following log files (also available from the platform Admin tab and the Control Panel):
- Launcher logs
- nuxeoctl.log Logs activity from NuxeoCtl.
- console.log Logs output written to the console (stdout).
- Server logs
- server.log Server logs.
- nuxeo-error.log Gathers errors raised to the user.
- stderr.log Gathers errors written to the console (stderr).
- classloader.log Gathers class loading errors from Catalina.
- tomcat.log Gathers Tomcat logs.
Besides these logs, activity information is also available from the UI of the product:
- Repository Statistics: Provides some statistics about the content of your application (how many documents, how many versions, size of the biggest folder...).
- Repository Binaries: Computes statistics on the binaries and enables you to delete the unused ones (deleted from the UI but still stored on the server).
- Users Sessions: Provides information on who is logged in to the Platform.
- Total number of active HTTP sessions: The number of user active user session on the UI.
- Total number of HTTP requests: The number of requests for page and dynamic resources served by JSF/faces.
- List active sessions within a duration.
- Events: Lists the events that occurred on the platform. You can filter this list to only get the events from a specific user or only events from a specific category.
- Background work: Provides information on the asynchronous tasks performed by the server, such as video conversion when a video is imported.
- Repository Analytics: Provides statistics on the repository. You can filter these statistics on a specific time period.
- Search Analytics: Provides statistics on the queries done by users and how search filters are used.
The Nuxeo Event Bus displays statistics about the processing of listeners.
The Logs tab displays the content of the server log files. You can also download the full log files.
Comments
0 comments
Please sign in to leave a comment.