Can you provide some sample log lines?

I think the proper cure would be to add a TCP-syslog driver to log4j. I would
be willing to contribute, but my Java is weak and I don't know any log4j
internals. So if you have someone who knows the udp driver, I think both of
us together could quickly create at least a basic TCP driver.

Rainer

> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Todd Michael Bushnell
> Sent: Monday, March 14, 2011 8:21 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] imfile and log4j
> 
> Matan,
> 
> Thanks for the feedback.  This is actually what I do now and it doesn't
> work because that initial UDP transfer over localhost results in log
> entries over 1024 bytes getting broken up.  I need to completely avoid
> UDP to support my large log messages.  Thanks.
> 
> Todd
> 
> 
> 
> 
> On Mar 14, 2011, at 10:15 AM, matan monitz wrote:
> 
> > how about setting rsyslog to listen on localhost udp and transfer to
> logging
> > server via tcp and then just tell log4j to send syslogs to localhost?
> >
> > On Sun, Mar 13, 2011 at 10:15 AM, Michael Biebl <[email protected]>
> wrote:
> >
> >> 2011/3/13 Todd Michael Bushnell <[email protected]>:
> >>>  The problem is that log4j only appears to support UDP (no TCP and
> no
> >> domain sockets)
> >>
> >> Wow, hat sounds seriously broken.
> >>
> >>
> >> --
> >> Why is it that all of the instruments seeking intelligent life in
> the
> >> universe are pointed away from Earth?
> >> _______________________________________________
> >> rsyslog mailing list
> >> http://lists.adiscon.net/mailman/listinfo/rsyslog
> >> http://www.rsyslog.com
> >>
> > _______________________________________________
> > rsyslog mailing list
> > http://lists.adiscon.net/mailman/listinfo/rsyslog
> > http://www.rsyslog.com
> 
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to