apache-ignite
33 строки · 1.3 Кб
1{#
2Licensed to the Apache Software Foundation (ASF) under one or more
3contributor license agreements. See the NOTICE file distributed with
4this work for additional information regarding copyright ownership.
5The ASF licenses this file to You under the Apache License, Version 2.0
6(the "License"); you may not use this file except in compliance with
7the License. You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16#}
17
18zookeeper.root.logger=INFO, FILE
19zookeeper.console.threshold=INFO
20
21zookeeper.log.dir={{ log_dir }}
22zookeeper.log.file={{ LOG_FILENAME }}
23zookeeper.log.threshold=INFO
24zookeeper.log.maxfilesize=256MB
25zookeeper.log.maxbackupindex=20
26
27log4j.rootLogger=${zookeeper.root.logger}
28
29log4j.appender.FILE=org.apache.log4j.FileAppender
30log4j.appender.FILE.Threshold=${zookeeper.log.threshold}
31log4j.appender.FILE.File=${zookeeper.log.dir}/${zookeeper.log.file}
32log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
33log4j.appender.FILE.layout.ConversionPattern=%d{ISO8601} [myid:%X{myid}] - %-5p [%t:%C{1}@%L] - %m%n
34