| # |
| # Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved. |
| # |
| # This program and the accompanying materials are made available under the |
| # terms of the Eclipse Public License v. 2.0 which is available at |
| # http://www.eclipse.org/legal/epl-2.0, |
| # or the Eclipse Distribution License v. 1.0 which is available at |
| # http://www.eclipse.org/org/documents/edl-v10.php. |
| # |
| # SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| # |
| |
| |
| #Configuration properties for log4j |
| log4j.rootLogger=ERROR |
| # log4j.rootLogger=ERROR, stdout |
| # log4j.rootLogger=INFO, stdout, logfile |
| |
| log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
| log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
| log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n |
| |
| log4j.appender.logfile=org.apache.log4j.FileAppender |
| log4j.appender.logfile.File=target/spring.log |
| log4j.appender.logfile.layout=org.apache.log4j.PatternLayout |
| log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n |