logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Lück <michael.lu...@hm-ag.de>
Subject Trailing space on loglevel in properties file not trimmed
Date Mon, 24 Apr 2017 12:24:25 GMT
Hello all,


I just realised that a trailing space on a level configuration in a
properties file doesn’t change the level of the logger.

I created a small example project


While the root logger is initialized with level info I want to make the
custom logger for package com.github.thuri to log on level debug.


When the level definition is written as

„logger.logtest.level =  DEBUG “

No Debug level logs occur on console


When using 

“logger.logtest.level =  DEBUG”

It works as expected.


Should it really work this way or is this a bug?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message