-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…github.com/Alfresco/docs-alfresco into DOCS-7850-alfresco-content-accelerator-3-7
- Loading branch information
Showing
8 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 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 %}). |