Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS-7827] Add Overriding Logging Defaults in Enterprise Viewer 4.0 #1585

Merged
merged 6 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _data/toc/enterprise-viewer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down
17 changes: 17 additions & 0 deletions enterprise-viewer/latest/install/logging.md
mbujak-hyland marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Overriding Logging Defaults
---

You can override the default logging configuration in OpenContent 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 %}).