{"id":117,"date":"2012-05-13T18:16:35","date_gmt":"2012-05-13T16:16:35","guid":{"rendered":"http:\/\/blog.johannes-beck.name\/?p=117"},"modified":"2013-05-17T22:23:09","modified_gmt":"2013-05-17T20:23:09","slug":"jboss-as-7-logging-to-syslog-appender","status":"publish","type":"post","link":"https:\/\/blog.johannes-beck.name\/?p=117","title":{"rendered":"JBoss AS 7 logging to Syslog Appender"},"content":{"rendered":"<p>JBoss AS 7 no longer used the log4j framework for logging, but the java.util.logging classes. What is missing there is a log facility for the old-fashioned UNIX syslog daemon. But this gap can be filled pretty easily by implementing:<\/p>\n<ol>\n<li>a SyslogHandler for the logging framework, contains the glue code and the message formatting<\/li>\n<li>a Syslog client which sends the log messages to the syslog daemon<\/li>\n<li>a module declaration for JBoss AS 7<\/li>\n<\/ol>\n<p>The code can be found at GitHub: <a href=\"https:\/\/github.com\/kifj\/jboss-syslog\">https:\/\/github.com\/kifj\/jboss-syslog<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JBoss AS 7 no longer used the log4j framework for logging, but the java.util.logging classes. What is missing there is a log facility for the old-fashioned UNIX syslog daemon. But this gap can be filled pretty easily by implementing: a SyslogHandler for the logging framework, contains the glue code and the message formatting a Syslog [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,43,3],"tags":[61,17,18],"class_list":["post-117","post","type-post","status-publish","format-standard","hentry","category-java","category-jboss-as7","category-software-development","tag-java","tag-jboss-as-7","tag-syslog"],"_links":{"self":[{"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/posts\/117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=117"}],"version-history":[{"count":6,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/posts\/117\/revisions"}],"predecessor-version":[{"id":300,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/posts\/117\/revisions\/300"}],"wp:attachment":[{"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}