forked from community/product-iots
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.5 KiB
43 lines
1.5 KiB
#
|
|
# Copyright 2009 WSO2, Inc. (http://wso2.com)
|
|
#
|
|
# 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.
|
|
#
|
|
|
|
#
|
|
# This is the log4j configuration file used by WSO2 Carbon
|
|
#
|
|
# IMPORTANT : Please do not remove or change the names of any
|
|
# of the Appenders defined here. The layout pattern & log file
|
|
# can be changed using the WSO2 Carbon Management Console, and those
|
|
# settings will override the settings in this file.
|
|
#
|
|
|
|
log4j.rootLogger=INFO, console, Default
|
|
|
|
log4j.logger.org.wso2=INFO
|
|
|
|
#Automation file apender
|
|
log4j.appender.Default=org.apache.log4j.RollingFileAppender
|
|
log4j.appender.Default.File=logs/automation.log
|
|
log4j.appender.Default.Append=true
|
|
log4j.appender.Default.MaxFileSize=10MB
|
|
log4j.appender.Default.MaxBackupIndex=10
|
|
log4j.appender.Default.layout=org.apache.log4j.PatternLayout
|
|
log4j.appender.Default.layout.ConversionPattern=%d{ISO8601} %-5p [%c] - %m%n
|
|
|
|
|
|
#Automation console apender
|
|
log4j.appender.console=org.apache.log4j.ConsoleAppender
|
|
log4j.appender.console.layout=org.apache.log4j.PatternLayout
|
|
log4j.appender.console.layout.ConversionPattern=%-5p [%c] - %m%n |