Hi Ralph,
How you know in lo4j1.x:
Syslog4jAppenderSkeleton extends org.apache.log4j.AppenderSkeleton implements
org.productivity.java.syslog4j.SyslogConstants, now:
I need to use these methods for our scope, namely:
setLayout, getErrorHandler, setName.
Is possible to use these methods in Log4j 2 somehow?
On 2020/02/20 16:48:42, Ralph Goers <[email protected]> wrote:
> Telling us that you overrode a class to fix a bug in the library doesn’t
> really help us much. What are you using syslog4j for? If you are simply
> trying to write log events to syslog Log4j 2 already supports that.
>
> Ralph
>
> > On Feb 20, 2020, at 8:30 AM, EDMONDO SENA <[email protected]> wrote:
> >
> > That class has been created to face to a bug in a syslog4j library related
> > to the handling of identity when more Appenders are used within the same VM.
> > We've created some methods like:
> >
> > - append(LoggingEvent...)
> > - initialize() for the protocol
> > - get() and set() SyslogHost....
> >
> >
> >
> > On 2020/02/20 15:23:58, Matt Sicker <[email protected]> wrote:
> >> What did you customize about that old class? We likely already support the
> >> same features you added in the v2 class. Can you tell us a little more
> >> about your use case?
> >>
> >> On Thu, Feb 20, 2020 at 09:22 EDMONDO SENA <[email protected]> wrote:
> >>
> >>>
> >>> Well:
> >>>
> >>> We're using Log4j 2 and we've a class that extends
> >>> SysLog4jAppenderSkeleton where the import is:
> >>>
> >>> org.productivity.java.syslog4j.impl.log4j.Syslog4jAppenderSkeleton..
> >>> Changing the jars the
> >>> previous class is inconsistent....
> >>>
> >>>
> >>> On 2020/02/20 15:12:05, Ralph Goers <[email protected]> wrote:
> >>>> See
> >>> http://logging.apache.org/log4j/2.x/manual/appenders.html#SyslogAppender <
> >>> http://logging.apache.org/log4j/2.x/manual/appenders.html#SyslogAppender>
> >>>>
> >>>> Ralph
> >>>>
> >>>>> On Feb 20, 2020, at 8:05 AM, EDMONDO SENA <[email protected]> wrote:
> >>>>>
> >>>>> Sorry it means that now is it impossible to use syslog4j with log4j 2?
> >>>>> What do you mean out of the box?
> >>>>>
> >>>>> //Edmondo.
> >>>>>
> >>>>>
> >>>>> On 2020/02/20 15:01:25, Matt Sicker <[email protected]> wrote:
> >>>>>> I’d guess no, but Log4j2 comes with syslog appenders out of the box
> >>> now.
> >>>>>>
> >>>>>> On Thu, Feb 20, 2020 at 04:30 EDMONDO SENA <[email protected]> wrote:
> >>>>>>
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> Syslog4j is compatible with Log4j 2?
> >>>>>>> Kind regards.
> >>>>>>>
> >>>>>>> ---------------------------------------------------------------------
> >>>>>>> To unsubscribe, e-mail: [email protected]
> >>>>>>> For additional commands, e-mail: [email protected]
> >>>>>>>
> >>>>>>> --
> >>>>>> Matt Sicker <[email protected]>
> >>>>>>
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: [email protected]
> >>>>> For additional commands, e-mail: [email protected]
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [email protected]
> >>> For additional commands, e-mail: [email protected]
> >>>
> >>> --
> >> Matt Sicker <[email protected]>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]