We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f464f29 commit e6ea1b9Copy full SHA for e6ea1b9
src/main/kotlin/core/packetproxy/util/Logging.kt
@@ -90,15 +90,17 @@ object Logging {
90
91
val rootLogger = context.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME)
92
rootLogger.addAppender(appender)
93
- rootLogger.level = Level.INFO
+ // ormliteなどのdebugログを抑制するため、WARN未満は出力しない
94
+ rootLogger.level = Level.WARN
95
}
96
97
@JvmStatic
98
@Throws(IllegalFormatException::class)
99
fun log(format: Any, vararg args: Any?) {
100
val fs = formatString(format, *args)
101
- logger.info(fs)
102
+ // WARN未満は出力されないためwarnで出力する
103
+ logger.warn(fs)
104
if (isGulp) return
105
guiLog.append(fs)
106
0 commit comments