-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: set logger.properties for test
It allows developers to manipulate logging levels in precise easily. - Add config/test/logger.properties - Only logging on console when testing - set system property j.u.l.config.file Signed-off-by: Hiroshi Miura <[email protected]>
- Loading branch information
Showing
2 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
handlers = java.util.logging.ConsoleHandler | ||
|
||
# Set the default logging level for the root logger | ||
.level = INFO | ||
org.omegat.level = ALL | ||
|
||
# Set the default logging level | ||
java.util.logging.ConsoleHandler.level = ALL | ||
org.omegat.util.logging.OmegaTFileHandler.level = ALL | ||
|
||
#org.omegat.util.logging.OmegaTLogFormatter.mask=$time: $level: $text $key | ||
org.omegat.util.logging.OmegaTLogFormatter.mask=$time: $threadName [$level] $key $text | ||
#org.omegat.util.logging.OmegaTLogFormatter.mask=$mark: $level: $text $key | ||
|
||
org.omegat.util.logging.OmegaTLogFormatter.timeFormat=HH:mm:ss.SSS | ||
|
||
java.util.logging.ConsoleHandler.formatter = org.omegat.util.logging.OmegaTLogFormatter | ||
|
||
# precise control of log levels, please change when debug | ||
org.omegat.core.data.level = INFO | ||
org.omegat.core.threads.level = INFO | ||
org.omegat.core.team2.impl.level = INFO | ||
org.omegat.core.team2.level = INFO | ||
org.omegat.gui.editor.history.level = INFO | ||
org.omegat.gui.matches.level = INFO | ||
org.omegat.util.gui.level = INFO | ||
org.omegat.util.level = INFO | ||
|
||
# Suppress warning from depndency jStyleParser | ||
cz.vutbr.web.level = SEVERE | ||
org.fit.net.level = SEVERE | ||
|
||
# We can enable specific logging level for some classes | ||
#org.omegat.core.data.SaveThread.level = FINEST | ||
org.omegat.core.segmentation.level = FINEST |