On Monday, 10 March 2014, Michael Wechner <[email protected]> wrote:
> Am 10.03.14 13:34, schrieb Matt Sicker: > > You should try the async plugin. It's really good at getting out of the > way > > performance wise. > > is that part of log4j2 (or 1 or both)? > > I guess you mean > > http://logging.apache.org/log4j/2.x/manual/async.html > > right? Correct! > > Also, what sort of custom plugin are you using? > > I am not sure I understand your question, can you explain some more? > > (Our custom appender to send messages via HTTP is still based on log4j > version 1) Does log4j 2 have an appender that fulfills that role? I recommend checking out the Flume appender or JMS appender for networked logging due to general reliability issues (both are designed for that sort of situation). > > Thanks > > Michael > > > > On Monday, 10 March 2014, Michael Wechner > > <[email protected]<javascript:;>> > wrote: > > > >> Hi > >> > >> I am using log4j within the Yanel CMS (http://www.yanel.org) for > regular > >> debugging, but > >> also for logging of 404 and access. > >> > >> I have recently upgraded part of the code to log4j2 in order to use fish > >> tagging, which works very fine. > >> > >> Also I am using log4j to send messages via HTTP (and ActiveMQ messages) > >> to another server asynchronously, > >> but in this particular case I am struggling with some odd threading > >> problem, which is slowing down the CMS > >> and makes it stop completely at some point. Unfortunately I have not > >> found the reason yet for this and hence > >> it is currently disabled, whereas I don't think it has anything to do > >> with log4j itself, but rather with the code of > >> our custom logger. As soon as I will have some time I will compare our > >> code with for example > >> > >> https://github.com/alexlod/scribe-log4j-appender > >> > >> HTH > >> > >> Michael > >> > >> Am 10.03.14 01:43, schrieb Matt Sicker: > >>> I'd like to hear how you use log4j in your personal projects and work > >>> projects. Like, which plugins do you use? How do you integrate them > with > >> a > >>> larger system? Are you using it in a distributed computing environment? > >>> Cloud hosting? Physical servers under your control? Inside a bunch of > >> VMs? > >>> Where do you store your logging data? How do you pass that data around? > >>> JMS? Flume? Database connections? Are you using custom plugins? > >>> > >>> This information will help me flesh out some more content for my > upcoming > >>> ApacheCon presentation on Log4j 2. I'd like to hear various use cases, > >>> especially ones using the new, neat features in 2.0. > >>> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: > >> [email protected]<javascript:;> > <javascript:;> > >> For additional commands, e-mail: > >> [email protected]<javascript:;> > <javascript:;> > >> > >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [email protected]<javascript:;> > For additional commands, e-mail: > [email protected]<javascript:;> > > -- Matt Sicker <[email protected]>
