[SNMP4J] Using SNMP4J with logback

Frank Fock fock at agentpp.com
Fri Apr 13 00:40:45 CEST 2018


Hi Debraj,

You can write your own LogAdapter and LogFactory implementation for logback.
That should be quite simple. You can start with the Log4JLogAdatper and Log4JLogFactory as example.

Best rergards,
Frank

> On 12. Apr 2018, at 12:37, Debraj Manna <subharaj.manna at gmail.com> wrote:
> 
> Cross-posting from stackoverflow
> <https://stackoverflow.com/questions/49792459/using-snmp4j-with-logback>
> 
> We are using SLF4J and logback in our application code and SNMP4J has log4j
> as dependency.
> 
> Can someone let me know how can I make SNMP4J work with logback?
> 
> Version
> 
>   - SNMP4J - 2.4.3
>   - Logback - 1.2.3
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> https://oosnmp.net/mailman/listinfo/snmp4j



More information about the SNMP4J mailing list