[JBoss JIRA] (LOGMGR-92) [tests] LoggerTests.testResourceBundle fails on german windows
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGMGR-92?page=com.atlassian.jira.plugin.... ]
James Perkins reassigned LOGMGR-92:
-----------------------------------
Assignee: (was: James Perkins)
> [tests] LoggerTests.testResourceBundle fails on german windows
> --------------------------------------------------------------
>
> Key: LOGMGR-92
> URL: https://issues.jboss.org/browse/LOGMGR-92
> Project: JBoss Log Manager
> Issue Type: Bug
> Affects Versions: 1.3.2.Final, 2.0.0.Beta1
> Environment: maven 3.0.2 on Win7x64 cygwin
> Reporter: Bernd Eckenfels
> Priority: Minor
> Labels: i18n
>
> When I run "mvn test" for the logmanager build (various branches) on german Win7 it fails with
> Tests run: 42, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.834 sec <<< FAILURE!
> Results: Failed tests: testResourceBundle(org.jboss.logmanager.LoggerTests): Can't find org.jboss.logmanager.LoggerTests bundle
> Tests run:42 ,Failures:1, Errors:0,Skipped:0
> ava.util.MissingResourceException: Can't find org.jboss.logmanager.LoggerTests bundle
> at java.util.logging.Logger.setupResourceInfo(Logger.java:1335)
> at java.util.logging.Logger.getLogger(Logger.java:335)
> at org.jboss.logmanager.Logger.getLogger(Logger.java:75)
> at org.jboss.logmanager.LoggerTests.testResourceBundle(LoggerTests.java:149)
> It helps to copy src/test/resources/org/jboss/logmanager/LoggerTests_en.properties to LoggerTests.properties, however strangely enough it does not help to manually specify user.language=en in the surefire configuration. The test should at least skip itself if the locale is not specified correctly (or ship locale independend translation).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 9 months
[JBoss JIRA] (LOGMGR-80) Support Logback similar to how Log4J is supported
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGMGR-80?page=com.atlassian.jira.plugin.... ]
James Perkins reassigned LOGMGR-80:
-----------------------------------
Assignee: (was: James Perkins)
> Support Logback similar to how Log4J is supported
> -------------------------------------------------
>
> Key: LOGMGR-80
> URL: https://issues.jboss.org/browse/LOGMGR-80
> Project: JBoss Log Manager
> Issue Type: Feature Request
> Reporter: Kyle Lape
>
> It would be nice to have support for Logback similar to how we support Log4J. Specifically, provide a modified version of Logback with customizations that account for the classloading behavior of Wildfly/JBoss Modules, thus removing the need to include logback libraries in deployments.
> It could be argued that there is no need for this because Logback does not provide a logging facade API and that anyone that migrates to Wildfly should migrate their {{logback.xml}} to something JBoss already supports. While that's a valid point, any help that could be provided to folks migrating to Wildfly would be appreciated.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 9 months
[JBoss JIRA] (LOGMGR-98) Disable UTF-8 BOM in syslog handler when encoding is undefined
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGMGR-98?page=com.atlassian.jira.plugin.... ]
James Perkins reassigned LOGMGR-98:
-----------------------------------
Assignee: (was: James Perkins)
> Disable UTF-8 BOM in syslog handler when encoding is undefined
> --------------------------------------------------------------
>
> Key: LOGMGR-98
> URL: https://issues.jboss.org/browse/LOGMGR-98
> Project: JBoss Log Manager
> Issue Type: Enhancement
> Reporter: Kyle Lape
>
> Section 6.4 MSG: http://tools.ietf.org/html/rfc5424#section-6.4
> bq. If a syslog application encodes MSG in UTF-8, the string MUST start with the Unicode byte order mask (BOM), which for UTF-8 is ABNF %xEF.BB.BF. The syslog application MUST encode in the "shortest form" and MAY use any valid UTF-8 sequence.
> While we want to conform to the spec, it is desirable to not include the BOM in some practical applications, e.g. rsyslog does not strip the BOM, and sometimes it would be easier to be able to configure JBoss to not include the BOM than to configure rsyslog to drop it.
> Perhaps we can not include the BOM is the encoding is undefined for the {{SyslogHandler}}, but do include it if the {{encoding}} is explicitly set to {{UTF-8}}.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 9 months