Re: Log4J 2

Scott Deboy <[email protected]>
Newsgroups gmane.comp.apache.logging
Message-ID <CADBq88Ark125Zf2O9gfNkXm=7RCHh3waJp1sx+1U5U_V=v2_Bg@mail.gmail.com>
I wouldn't mind getting rid of the implementation behind the current
expression/expressionfilter support (also used in Chainsaw).  Were there
improvements in that area?

The expression support has some limits which I don't love  - yes, you can
define regexps and use relational and logical operators and grouping, but I
would love to be able to have something like an 'around' operator that
would work off of either of events (ten events around a warning message),
and/or a time-based version (events within +- 1 minute of a warning
message).

Scott

On Mon, Feb 6, 2012 at 10:23 AM, ralph.goers @dslextreme.com <
[email protected]> wrote:

>
>
> On Mon, Feb 6, 2012 at 9:40 AM, Scott Deboy <[email protected]> wrote:
>
>> Is support for the concept of an event sink (receivers) going to be
>> straightforward to implement using log4j2's configuration support?
>>
>> I just want to make sure we are covering our bases there.  It would be
>> great to have explicit support for receivers, the same as we have for
>> appenders.
>>
>> For the socketappender, can it be configured to be multicast?  If so, it
>> would be good to be able to provide in the interface that was going to be
>> used.
>>
>> There are of course other appenders (the reverse-connect
>> sockethubappender, for example), and the other network-based appenders
>> which can probably be replaced by this single socket appender if it were
>> beefed up a bit.
>>
>>
> SocketAppender itself doesn't do much. It is really an
> OutputStreamAppender that leverages a SocketManager. At the moment it
> supports a TCPSocketManager and a DatagramSocketManager. Adding other types
> of SocketManagers doesn't require much.
>
> Ralph
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.