Error while configuring custom handler for syslog
Issue
- How to set the
appNameproperty in cutsom handler for syslog in EAP 6 ? - Error while configuring custom handler for syslog:
[Server:demo-server] 15:04:20,426 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("add") failed - address: ([
[Server:demo-server] ("subsystem" => "logging"),
[Server:demo-server] ("custom-handler" => "SYSLOG-Handler")
[Server:demo-server] ]): java.lang.IllegalArgumentException: No property "app-name" setter found for handler "SYSLOG-Handler""
[Server:demo-server] at org.jboss.logmanager.config.AbstractPropertyConfiguration.setPropertyValueExpression(AbstractPropertyConfiguration.java:196) [jboss-logmanager-1.5.1.Final-redhat-1.jar:1.5.1.Final-redhat-1]
[Server:demo-server] at org.jboss.logmanager.config.AbstractPropertyConfiguration.setPropertyValueString(AbstractPropertyConfiguration.java:157) [jboss-logmanager-1.5.1.Final-redhat-1.jar:1.5.1.Final-redhat-1]
[Server:demo-server] at org.jboss.as.logging.HandlerOperations.handleProperty(HandlerOperations.java:595) [jboss-as-logging-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
[Server:demo-server] at org.jboss.as.logging.HandlerOperations.handleProperty(HandlerOperations.java:526) [jboss-as-logging-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
---
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
