From f9f45991d9a43fb18accc32ac25619862bf1db95 Mon Sep 17 00:00:00 2001 From: "victor.gao" Date: Mon, 26 Mar 2018 20:33:13 +0800 Subject: Add multivimproxy code Change-Id: I15e0a6c639727bfa1115c77c11c58dc8b252c3bf Issue-ID: VFC-644 Signed-off-by: victor.gao --- service/src/main/resources/log4j.properties | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 service/src/main/resources/log4j.properties (limited to 'service/src/main/resources/log4j.properties') diff --git a/service/src/main/resources/log4j.properties b/service/src/main/resources/log4j.properties new file mode 100644 index 0000000..a9e8557 --- /dev/null +++ b/service/src/main/resources/log4j.properties @@ -0,0 +1,23 @@ +############################################################################### +# Copyright 2016, Huawei Technologies Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################################### +log4j.rootLogger=INFO,root +log4j.appender.root.Append=true +log4j.appender.root.File=${catalina.base}/logs/multivimproxy.log +log4j.appender.root.layout.ConversionPattern=%d %-5p [%t][%X{moduleID}][%C %L] %m%n +log4j.appender.root.layout=org.apache.log4j.PatternLayout +log4j.appender.root.MaxBackupIndex=50 +log4j.appender.root.MaxFileSize=20MB +log4j.appender.root=org.apache.log4j.RollingFileAppender \ No newline at end of file -- cgit 1.2.3-korg