Has anyone written an SNMP appender? I'd be interested in one. If there isn't one
available I might pick away at it.
Craig
Please Note
The information in this E-mail message is legally privileged
and conf
OTECTED]
>Subject: SNMPAppender
>
>Has anyone written an SNMP appender? I'd be interested in one. If
there
>isn't one available I might pick away at it.
>
>Craig
>
>
> Please N
>
> >-Original Message-
> >From: Craig Smith [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, July 24, 2002 9:12 AM
> >To: [EMAIL PROTECTED]
> >Subject: SNMPAppender
> >
> >Has anyone written an SNMP appender? I'd be interested in one. If
>t
I've been using it for a while. Its pretty good.
Peter
> -Original Message-
> From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
> Sent: 24 July 2002 14:34
> To: Log4J Users List
> Subject: RE: SNMPAppender
>
>
>
> Did you see this?
>
Hi Thomas,
That's purty! :-) I'll add it and list you as author/contributor. I am reluctant to
just kill the #setSysUpTime method/property, for backwards compatibility reasons, but
I did deprecate it, and modify the appender to use the resolver's value whenever the
sysUpTime property is n
Add interface:
public abstract interface SysupTimeResolver {
public abstract long getSysupTime();
}
Add the following to SNMPAppender:
private static final SysupTimeResolver DEFAULT_SYSUP_TIME_RESOLVER =
new SysupTimeResolver() {
long time = System.currentTimeMillis
and of course, remove the setSysupTime() etc. This is rarely used
anyway since one generally don't want to keep track of actual appenders and
specially not in form of their types (in this case SNMPAppender).
--
Thomas
| -Original Message-
| From: Thomas Muller [mailto:[