diff options
author | Dan Timoney <dtimoney@att.com> | 2020-06-26 15:56:48 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-06-29 09:01:18 -0400 |
commit | 385874a6fd067cb17323a27ecd1af62b4176aecc (patch) | |
tree | b6f02d6dca3f496aacff8ae29b1c0cca71b7b866 /services/src/test/resources/log4j2-test.xml | |
parent | f3430368211a5eb435a56a70006831255dcdba2e (diff) |
Add RFC 8040 compliant error handler
Add a new error handler that formats error responses consistent
with RFC 8040 (RESTCONF) standards.
Change-Id: I67a6ab626d943115570f2e74d0a8132933726bc8
Issue-ID: CCSDK-2482
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'services/src/test/resources/log4j2-test.xml')
-rw-r--r-- | services/src/test/resources/log4j2-test.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/services/src/test/resources/log4j2-test.xml b/services/src/test/resources/log4j2-test.xml new file mode 100644 index 00000000..1408cf2a --- /dev/null +++ b/services/src/test/resources/log4j2-test.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Configuration status="INFO"> + <Appenders> + <Console name="Console" target="SYSTEM_OUT"> + <PatternLayout + pattern="[%p] %d{yyyy-MM-dd HH:mm:ss} %c{1}:%L - %m%n"/> + </Console> + </Appenders> + <Loggers> + <Root level="info"> + <AppenderRef ref="Console"/> + </Root> + </Loggers> +</Configuration>
\ No newline at end of file |