diff options
author | Liam Fallon <liam.fallon@est.tech> | 2019-03-18 23:01:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-18 23:01:15 +0000 |
commit | 5d8847cef17818f95b1dd6eebbd01be8ea7ed662 (patch) | |
tree | 839e9255a022b70f0d1de3e094927d2a480724d8 /policy-endpoints/src/test/resources | |
parent | 146284191ee01ea92441fdf3159e9dcd84a6f11a (diff) | |
parent | 57a44626324326fc3b29042398d2ccdaec5a7758 (diff) |
Merge "Add Network Logging Feature"
Diffstat (limited to 'policy-endpoints/src/test/resources')
-rw-r--r-- | policy-endpoints/src/test/resources/META-INF/services/org.onap.policy.common.endpoints.features.NetLoggerFeatureApi | 1 | ||||
-rw-r--r-- | policy-endpoints/src/test/resources/logback-test.xml | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/policy-endpoints/src/test/resources/META-INF/services/org.onap.policy.common.endpoints.features.NetLoggerFeatureApi b/policy-endpoints/src/test/resources/META-INF/services/org.onap.policy.common.endpoints.features.NetLoggerFeatureApi new file mode 100644 index 00000000..c861ad18 --- /dev/null +++ b/policy-endpoints/src/test/resources/META-INF/services/org.onap.policy.common.endpoints.features.NetLoggerFeatureApi @@ -0,0 +1 @@ +org.onap.policy.common.endpoints.utils.NetLoggerUtilTest$NetLoggerFeature diff --git a/policy-endpoints/src/test/resources/logback-test.xml b/policy-endpoints/src/test/resources/logback-test.xml index b3feef90..4edcc9db 100644 --- a/policy-endpoints/src/test/resources/logback-test.xml +++ b/policy-endpoints/src/test/resources/logback-test.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= ONAP ================================================================================ - Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -27,8 +27,14 @@ </encoder> </appender> + <appender name="testAppender" class="org.onap.policy.common.endpoints.utils.NetLoggerUtilTest$TestAppender"/> + <logger name="org.onap.policy.drools.http.server.test" level="INFO"/> - + + <logger name="network" level="INFO"> + <appender-ref ref="testAppender" /> + </logger> + <root level="WARN"> <appender-ref ref="STDOUT"/> </root> |