| 1 |
# |
| 2 |
# JBoss, Home of Professional Open Source. |
| 3 |
# Copyright 2017 Red Hat, Inc., and individual contributors |
| 4 |
# as indicated by the @author tags. |
| 5 |
# |
| 6 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 |
# you may not use this file except in compliance with the License. |
| 8 |
# You may obtain a copy of the License at |
| 9 |
# |
| 10 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 11 |
# |
| 12 |
# Unless required by applicable law or agreed to in writing, software |
| 13 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 14 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 |
# See the License for the specific language governing permissions and |
| 16 |
# limitations under the License. |
| 17 |
# |
| 18 |
|
| 19 |
# Additional logger names to configure (root logger is always configured) |
| 20 |
loggers=org.jboss.threads |
| 21 |
|
| 22 |
# Root logger configuration |
| 23 |
logger.level=INFO |
| 24 |
logger.handlers=CONSOLE, FILE |
| 25 |
|
| 26 |
logger.org.jboss.threads.level=${test.level:INFO} |
| 27 |
|
| 28 |
# Console handler configuration |
| 29 |
handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler |
| 30 |
handler.CONSOLE.properties=autoFlush |
| 31 |
handler.CONSOLE.level=ALL |
| 32 |
handler.CONSOLE.autoFlush=true |
| 33 |
handler.CONSOLE.formatter=PATTERN |
| 34 |
|
| 35 |
# File handler configuration |
| 36 |
handler.FILE=org.jboss.logmanager.handlers.FileHandler |
| 37 |
handler.FILE.level=ALL |
| 38 |
handler.FILE.properties=autoFlush,fileName |
| 39 |
handler.FILE.autoFlush=true |
| 40 |
handler.FILE.fileName=./target/test.log |
| 41 |
handler.FILE.formatter=PATTERN |
| 42 |
|
| 43 |
# Formatter pattern configuration |
| 44 |
formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter |
| 45 |
formatter.PATTERN.properties=pattern |
| 46 |
formatter.PATTERN.pattern=%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n |
| 47 |
|