[Bug 48] New: Log4j Properties Translator does not correctly handle trailing spaces

http://bugzilla.qos.ch/show_bug.cgi?id=48 Summary: Log4j Properties Translator does not correctly handle trailing spaces Product: logback-general Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: blocker Priority: P1 Component: build-structure AssignedTo: logback-dev@qos.ch ReportedBy: noreply.ceki@qos.ch When there a trailing spaces in the properties, the Log4j Properties Translator does not work properly. Conversion attempt with log4j.rootLogger=DEBUG, D4 log4j.appender.D4=org.apache.log4j.ConsoleAppender log4j.appender.D4.layout=org.apache.log4j.PatternLayout log4j.appender.D4.layout.ConversionPattern=%d [%t] %-5p %c - %m%n yields: <?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="D4" class="org.apache.log4j.ConsoleAppender "> <layout class="org.apache.log4j.PatternLayout "> <ConversionPattern>%d [%t] %-5p %c - %m%n</ConversionPattern> </layout> </appender> <root> <level value="DEBUG"/> <appender-ref ref="D4"/> </root> </configuration> Notice the space characters after "ConsoleAppender" and "PatternLayout". The space characters should be trimmed from the input before doing the translation. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=48 noreply.sebastien@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from noreply.sebastien@qos.ch 2007-03-05 14:44 ------- This is now corrected -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=48 noreply.sebastien@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED ------- Comment #2 from noreply.sebastien@qos.ch 2007-03-05 14:45 ------- The corrected translator will be online soon, so I guess I can close this bug. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
bugzilla-daemon@pixie.qos.ch