From 822600c79a504c15071c3d160c6e83586f0e4616 Mon Sep 17 00:00:00 2001 From: Monika Bujak Date: Fri, 4 Oct 2024 14:33:11 +0200 Subject: [PATCH 1/6] [DOCS-7827] Add Overriding Logging Defaults in Enterprise Viewer 4.0 --- enterprise-viewer/latest/install/index.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/enterprise-viewer/latest/install/index.md b/enterprise-viewer/latest/install/index.md index 3748f60db9..31f7de5cf7 100644 --- a/enterprise-viewer/latest/install/index.md +++ b/enterprise-viewer/latest/install/index.md @@ -469,6 +469,23 @@ You only need to follow these steps if installing AEV without ACA: 4. Start Alfresco. +## 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 [Overriding Logging Defaults in the Content Accelerator]({% link content-accelerator\3.7\install\logging.md %}). + + ## Install collaboration (optional) {#collab} In this section the Enterprise Viewer collaboration features Socket.IO server is installed. From 2fce346b1d4d408a887172c2f40ca3cb3f957a77 Mon Sep 17 00:00:00 2001 From: Monika Bujak Date: Fri, 4 Oct 2024 14:34:16 +0200 Subject: [PATCH 2/6] [DOCS-7827] Add Overriding Logging Defaults in Enterprise Viewer 4.0 --- enterprise-viewer/latest/install/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise-viewer/latest/install/index.md b/enterprise-viewer/latest/install/index.md index 31f7de5cf7..71ddbec903 100644 --- a/enterprise-viewer/latest/install/index.md +++ b/enterprise-viewer/latest/install/index.md @@ -483,7 +483,7 @@ To override the default logging configuration: 4. Start the Alfresco server. ->**Note:** For more information on overriding logging in OpenContent, see [Overriding Logging Defaults in the Content Accelerator]({% link content-accelerator\3.7\install\logging.md %}). +>**Note:** For more information on overriding logging in OpenContent, see [Logging in the Content Accelerator]({% link content-accelerator\3.7\install\logging.md %}). ## Install collaboration (optional) {#collab} From 36d5cddf6eeebd80cbc3359f74d5191d068d3680 Mon Sep 17 00:00:00 2001 From: Monika Bujak Date: Fri, 4 Oct 2024 14:46:55 +0200 Subject: [PATCH 3/6] [DOCS-7827] Add Overriding Logging Defaults in Enterprise Viewer 4.0 --- enterprise-viewer/latest/install/index.md | 17 ----------------- enterprise-viewer/latest/install/logging.md | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 enterprise-viewer/latest/install/logging.md diff --git a/enterprise-viewer/latest/install/index.md b/enterprise-viewer/latest/install/index.md index 71ddbec903..3748f60db9 100644 --- a/enterprise-viewer/latest/install/index.md +++ b/enterprise-viewer/latest/install/index.md @@ -469,23 +469,6 @@ You only need to follow these steps if installing AEV without ACA: 4. Start Alfresco. -## 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 %}). - - ## Install collaboration (optional) {#collab} In this section the Enterprise Viewer collaboration features Socket.IO server is installed. diff --git a/enterprise-viewer/latest/install/logging.md b/enterprise-viewer/latest/install/logging.md new file mode 100644 index 0000000000..052aa2827a --- /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 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 %}). \ No newline at end of file From 76c1e67105498c4580b068c72a8d975323004bed Mon Sep 17 00:00:00 2001 From: Monika Bujak Date: Fri, 4 Oct 2024 14:47:46 +0200 Subject: [PATCH 4/6] [DOCS-7827] Add Overriding Logging Defaults in Enterprise Viewer 4.0 --- _data/toc/enterprise-viewer.yaml | 2 ++ 1 file changed, 2 insertions(+) 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)' From 14808dab5b894aef28d55840c0bd7b50ef28ec1e Mon Sep 17 00:00:00 2001 From: Monika Bujak Date: Fri, 4 Oct 2024 15:25:13 +0200 Subject: [PATCH 5/6] [DOCS-7827] Fix link --- enterprise-viewer/latest/install/logging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise-viewer/latest/install/logging.md b/enterprise-viewer/latest/install/logging.md index 052aa2827a..ce2fb5524a 100644 --- a/enterprise-viewer/latest/install/logging.md +++ b/enterprise-viewer/latest/install/logging.md @@ -14,4 +14,4 @@ To override the default logging configuration: 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 %}). \ No newline at end of file +>**Note:** For more information on overriding logging in OpenContent, see [Logging in the Content Accelerator]({% link content-accelerator/3.7/install/logging.md %}). \ No newline at end of file From 99e303d10e340da091335118ba2411c1b7da8469 Mon Sep 17 00:00:00 2001 From: Monika Bujak <152476722+mbujak-hyland@users.noreply.github.com> Date: Mon, 7 Oct 2024 08:12:54 +0200 Subject: [PATCH 6/6] DOCS-7827 Updated per technical feedback --- enterprise-viewer/latest/install/logging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enterprise-viewer/latest/install/logging.md b/enterprise-viewer/latest/install/logging.md index ce2fb5524a..4474f93814 100644 --- a/enterprise-viewer/latest/install/logging.md +++ b/enterprise-viewer/latest/install/logging.md @@ -2,7 +2,7 @@ title: Overriding Logging Defaults --- -You can override the default logging configuration in OpenContent by deploying the `log4j2-OpenAnnotate.xml` file to the configured classpath. +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: @@ -14,4 +14,4 @@ To override the default logging configuration: 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 %}). \ No newline at end of file +>**Note:** For more information on overriding logging in OpenContent, see [Logging in the Content Accelerator]({% link content-accelerator/3.7/install/logging.md %}).