From dba41cd0630dfe7a899e39e3b95e8c0f0834a3e1 Mon Sep 17 00:00:00 2001 From: Monika Michalska Date: Thu, 3 Oct 2024 16:42:43 +0200 Subject: [PATCH] [DOCS-7825] Add Overriding Logging Defaults in ACA 3.7 --- _data/toc/content-accelerator.yaml | 2 ++ content-accelerator/3.7/install/logging.md | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 content-accelerator/3.7/install/logging.md diff --git a/_data/toc/content-accelerator.yaml b/_data/toc/content-accelerator.yaml index 16cf8a9513..7596707540 100644 --- a/_data/toc/content-accelerator.yaml +++ b/_data/toc/content-accelerator.yaml @@ -74,6 +74,8 @@ path: '/content-accelerator/3.7/install/installation-requirements/' - title: 'Install Guide' path: '/content-accelerator/3.7/install/install-guide/' + - title: 'Overriding Logging Defaults' + path: '/content-accelerator/3.7/install/logging/' - title: 'Java 17 support' path: '/content-accelerator/3.7/install/java-support/' - title: 'Single Sign On Support' diff --git a/content-accelerator/3.7/install/logging.md b/content-accelerator/3.7/install/logging.md new file mode 100644 index 0000000000..104bc9e457 --- /dev/null +++ b/content-accelerator/3.7/install/logging.md @@ -0,0 +1,14 @@ +--- +title: Overriding Logging Defaults +--- + +To override the default log configurations, you can put one of the following files on the configured class path (for example, under `/tomcat/shared/classes`): + +* `log4j2-ocms.xml` - overrides logging defaults for ocms. +* `log4j2-WizardAdmin.xml` - overrides logging defaults for WizardAdmin. + +To override the default log configurations for Alfresco, you can put the `log4j2.properties` file under one of the following paths: + +* `../tomcat/shared/classes/alfresco/module/com.tsgrp.autofile/` - overrides logging related to `autofile`. +* `../tomcat/shared/classes/alfresco/module/com.tsgrp.opencontent/` - overrides logging related to `opencontent`. +* `../tomcat/shared/classes/alfresco/module/com.tsgrp.alfresco.chained.versionable/` - overrides logging related to `chained.versionable`. \ No newline at end of file