diff --git a/_data/toc/enterprise-viewer.yaml b/_data/toc/enterprise-viewer.yaml index d7a84f27e1..1083263ce4 100644 --- a/_data/toc/enterprise-viewer.yaml +++ b/_data/toc/enterprise-viewer.yaml @@ -7,6 +7,8 @@ pages: - title: 'Overview' path: '/enterprise-viewer/latest/install/' + - title: 'Overriding Default Logging' + path: '/enterprise-viewer/latest/install/logging/' - title: 'Java 17 support' path: '/enterprise-viewer/latest/install/java-support/' - title: 'Install Alfresco Enterprise Viewer Transformer (optional)' diff --git a/enterprise-viewer/latest/install/logging.md b/enterprise-viewer/latest/install/logging.md new file mode 100644 index 0000000000..4474f93814 --- /dev/null +++ b/enterprise-viewer/latest/install/logging.md @@ -0,0 +1,17 @@ +--- +title: Overriding Logging Defaults +--- + +You can override the default logging configuration in OpenAnnotate by deploying the `log4j2-OpenAnnotate.xml` file to the configured classpath. + +To override the default logging configuration: + +1. Stop the Alfresco server. + +2. Locate the `/alfresco` classpath, for example, the `tomcat/shared/classes` directory. + +3. Place the `log4j2-OpenAnnotate.xml` file on the configured classpath. + +4. Start the Alfresco server. + +>**Note:** For more information on overriding logging in OpenContent, see [Logging in the Content Accelerator]({% link content-accelerator/3.7/install/logging.md %}).