Any documentation talking about JPOS Logback ? I want to implement this in my project.
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to a topic in the Google Groups "jPOS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jpos-users/2X1V5f6--nk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/f8c90fce-5d18-486e-9d77-1cf3cb7bdb23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I want to send the JPOS Log to syslog using sysLogListener
@Override
public void setConfiguration(Configuration c) throws ConfigurationException {
try {
mux = QMUX.getMUX("mux.clientsimulator-mux");
} catch (NameRegistrar.NotFoundException ex) {
sysLogListener.log(createError()); // not printing in syslog
System.out.println(ex); // print in the console
}
}
But the log messege not appearing in syslog.
<logger name="Q2" class="org.jpos.q2.qbean.LoggerAdaptor"><log-listener class="org.jpos.util.SysLogListener"><property name="facility" value="xx" /><property name="severity" value="5" /><property name="prefix" value="[jPOS]" /><property name="port" value="5514" /></log-listener></logger>