directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject [directory-fortress-commander] 01/02: Log4j 2.13.3 upgrade
Date Tue, 28 Jul 2020 13:49:01 GMT
This is an automated email from the ASF dual-hosted git repository.

smckinney pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-fortress-commander.git

commit 98d0bb78ba418dfe9b6b9bfbd04a57d891245f1d
Author: John Eipe <johne@INLM-JohnE.local>
AuthorDate: Sat Jun 20 17:17:42 2020 +0530

    Log4j 2.13.3 upgrade
---
 src/main/resources/log4j2.xml | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml
new file mode 100644
index 0000000..d47ff4a
--- /dev/null
+++ b/src/main/resources/log4j2.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you 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.
+ *
+ -->
+<Configuration>
+    <Appenders>
+        <File name="file" fileName="fortress.log" append="true" maxFileSize="10MB" maxBackupIndex="10">
+            <PatternLayout pattern="%d{yyyy-MM-dd HH:mm:sss} %-5p %c{1}:%L - %m%n"/>
+        </File>
+        <Console name="console" target="SYSTEM_OUT">
+            <PatternLayout pattern="%-5p - %d{dd MMM yyyy HH:mm:ss,SSS} - %-26.26c{1}
- %m%n"/>
+        </Console>
+    </Appenders>
+    <Loggers>
+        <Logger name="org.openldap" level="info"/>
+        <Logger name="org.apache.directory.fortress.core" level="info"/>
+        <Logger name="org.apache.directory.fortress.web" level="info"/>
+        <Logger name="org.apache.wicket" level="info"/>
+        <Logger name="org.springframework.security" level="info"/>
+        <Logger name="org.apache.wicket.protocol.http.HttpSessionStore" level="info"/>
+        <Logger name="org.apache.wicket.version" level="info"/>
+        <Logger name="org.apache.wicket.RequestCycle" level="info"/>
+        <Root level="warn">
+            <AppenderRef ref="console"/>
+        </Root>
+    </Loggers>
+</Configuration>
\ No newline at end of file


Mime
View raw message