You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/07/30 12:27:02 UTC

[camel] 01/02: Camel-Arangodb: Fixed log configuration for tests

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 043b110e941937590ae0948b8234705371c005ba
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jul 30 14:23:34 2020 +0200

    Camel-Arangodb: Fixed log configuration for tests
---
 components/camel-arangodb/src/test/resources/log4j2.properties | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/components/camel-arangodb/src/test/resources/log4j2.properties b/components/camel-arangodb/src/test/resources/log4j2.properties
index f87b4d4..99275ad 100644
--- a/components/camel-arangodb/src/test/resources/log4j2.properties
+++ b/components/camel-arangodb/src/test/resources/log4j2.properties
@@ -14,9 +14,16 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
+appender.file.type = File
+appender.file.name = file
+appender.file.fileName = target/camel-arangodb-test.log
+appender.file.layout.type = PatternLayout
+appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
 appender.out.type = Console
 appender.out.name = out
 appender.out.layout.type = PatternLayout
 appender.out.layout.pattern = [%30.30t] %-30.30c{1} %-5p %m%n
+
 rootLogger.level = INFO
-rootLogger.appenderRef.out.ref = out
+rootLogger.appenderRef.file.ref = file
+#rootLogger.appenderRef.out.ref = out