[SNMP4J] Apache MINA based transport for SNMP4J and some question about logging

Julien Vermillard jvermillard at archean.fr
Tue May 27 11:33:32 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Frank

I'll say when it's production ready, I'll probably test it next week
with a bigger network than my first test.

About SLF4J, I know SNMP4J plan for no dependencies, but, simple
curiosity, what are exactly the missing feature of slf4j ??

Julien

On Mon, 26 May 2008 23:33:46 +0200
Frank Fock <fock at agentpp.com> wrote:

> Hi Julien,
> 
> MINA seems to be easy to use, indeed.
> I have planned a nio implementation of
> the UDP transport mapping for SNMP4J 2.0
> (Java SE 5 based).
> 
> The slf4j is not an option, because
> (a) SNMP4J should not have any dependency
> to a third party lib.
> (b) slf4j does not implement all necessary
> functions needed by SNMP4J-Agent.
> 
> I may put a link on the SNMP4J site to
> your transport mapping implementation, when
> you think it is ready for production usage.
> 
> Best regards,
> Frank
> 
> Julien Vermillard wrote:
> > Hi,
> > 
> > I'm a commiter on Apache MINA and a great fan of SNMP4J (I use it
> > since few year). So naturally I made a mina based transport for
> > snmp4j.
> > 
> > Anyway if you look at the code the use of MINA, managed to reduce
> > the number of LoC, removing all the listener/worker thread code,
> > because it's using MINA executor filter for processing incoming
> > data. 
> > 
> > The first quick implementations here :
> > http://people.apache.org/~jvermillard/snmp4j/
> > Basic testing showed it's working. I hope some of you will be
> > interested ;)
> > 
> > I know it's here because snmp4j is a bit old now, but I think the
> > whole logging class could be removed to use a logging facade
> > library like slf4j so the user can choose wich logging framework to
> > use without need to know about org.snmp4j.log.* classes. Oh, and
> > using sl4j remove the need to test isDebugEnabled() because it's
> > doing the string concatenation only if needed. If you want I can
> > provide some patch for that.
> > 
> > Julien
> > 
> > P.S. : cross-posting to mina-dev list, because I know there is some
> > snmp4j users there.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIO9VsHMBmbW1IlcURAiCRAJ4kpSee2IkwUiygbZh62lm4YFqfEwCeMuWc
K/xPInF7q9CJxEZChpmiis8=
=xqNh
-----END PGP SIGNATURE-----


More information about the SNMP4J mailing list