summaryrefslogtreecommitdiffstats
path: root/src/site-docs/adoc/fragments/howto-logging/logging-policy-logic.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/site-docs/adoc/fragments/howto-logging/logging-policy-logic.adoc')
-rw-r--r--src/site-docs/adoc/fragments/howto-logging/logging-policy-logic.adoc13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/site-docs/adoc/fragments/howto-logging/logging-policy-logic.adoc b/src/site-docs/adoc/fragments/howto-logging/logging-policy-logic.adoc
index 779e45458..a0cc02591 100644
--- a/src/site-docs/adoc/fragments/howto-logging/logging-policy-logic.adoc
+++ b/src/site-docs/adoc/fragments/howto-logging/logging-policy-logic.adoc
@@ -17,9 +17,8 @@ The logging for the logic inside a policy (task logic, task selection logic, sta
The logger for policy logic is `org.onap.policy.apex.executionlogging`.
The following example defines
-- a new appender for policy logic logging to standard out using a very simple pattern (simply the actual message)
-- a logger for policy logic to standard out using the new appender
-- a logger for policy logic to the standard `FILE` appender
+- a new appender for standard out using a very simple pattern (simply the actual message)
+- a logger for policy logic to standard out using the new appender and the already described file appender.
[source%nowrap,xml]
----
@@ -29,12 +28,6 @@ The following example defines
</encoder>
</appender>
-<appender name="POLICY_APPENDER_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <encoder>
- <pattern>policy: %msg\n</pattern>
- </encoder>
-</appender>
-
<logger name="org.onap.policy.apex.executionlogging" level="info" additivity="false">
<appender-ref ref="POLICY_APPENDER_STDOUT" />
<appender-ref ref="FILE" />
@@ -48,7 +41,7 @@ The following example defines a logger for task logic.
[source%nowrap,xml]
----
<logger name="org.onap.policy.apex.executionlogging.TaskExecutionLogging" level="TRACE" additivity="false">
- <appender-ref ref="STDOUT" />
+ <appender-ref ref="POLICY_APPENDER_STDOUT" />
</logger>
----