Thanks Botond, tried log rotate and it works like a charm. > On Mar 9, 2014, at 15:58, Botond Botyanszki <b...@nxlog.org> wrote: > > Hi, > > NXLog does not close the connection, it's the other end. > Even if keep-alive is respected, some web servers will close the > connection after a period of idle time or after serving the given number > of requests (e.g. MaxRequestsPerChild in apache). > > NXLog can rotate its own logfile. see > http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html#xm_fileop_example1 > Other than that, you can turn it off or use im_interal in a route with > filtering. > > Regards, > Botond > > > On Fri, 7 Mar 2014 10:25:44 +0200 > Shedis <she...@gmail.com> wrote: > >> Hi Botond, >> You were right, my httpd doesn't seem to respect the keep-alive header and >> always closes the connection. I tried with another httpd and it worked. >> >> But once nxlog is finish sending the messages, it logs an ERROR like: >> >> 2014-03-07 09:01:54 INFO nxlog-ce-2.7.1191 started >> 2014-03-07 09:01:56 INFO connecting to 127.0.0.1:8080 >> 2014-03-07 09:02:27 ERROR disconnected >> >> Assuming a long running nxlog process, these ERROR logs would fill up the >> nxlog file. Anything I can do to not have this message appear in the nxlog.? >> >> Regards, >> >> >>> On Mar 6, 2014, at 0:02, Botond Botyanszki <b...@nxlog.org> wrote: >>> >>> Hi, >>> >>> It still looks like the http server closes the connection after each >>> message. >>> >>> Regards, >>> Botond >>> >>> On Tue, 4 Mar 2014 14:33:41 +0200 >>> Shedis <she...@gmail.com> wrote: >>> >>>> Hi Botond, >>>> Ok I enabled the keep alive config on the http server. Even though all the >>>> messages are received by the httpd, the nxlog client side logs lot of >>>> following message. >>>> >>>> .... >>>> INFO reconnecting in 0 seconds >>>> ERROR disconnected >>>> INFO connecting to x.x.x.x:8000 >>>> ERROR unhandled event! (reqevents: 33, rtnevents: 64) >>>> ERROR unhandled event! (reqevents: 33, rtnevents: 64) >>>> ERROR disconnected >>>> .... >>>> >>>> >>>> Regards, >>>> >>>> Sent from my Mobile Device! >>>> >>>>> On Mar 4, 2014, at 13:22, Botond Botyanszki <b...@nxlog.org> wrote: >>>>> >>>>> Hi, >>>>> >>>>> The om_http module sends an HTTP 1.1 POST request in keep-alive mode. >>>>> I recommend looking at the network traffic with wireshark/tcpdump to see >>>>> what's going on. >>>>> >>>>> Regards, >>>>> Botond >>>>> >>>>> On Mon, 3 Mar 2014 13:36:35 +0200 >>>>> Shedis <she...@gmail.com> wrote: >>>>> >>>>>> Yes, I'm running on windows. Can you tell what http protocol version >>>>>> verbs are used by om_http module. It may help me to configure the http >>>>>> server more appropriately. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Sent from my Mobile Device! >>>>>> >>>>>>> On Mar 3, 2014, at 10:59, Botond Botyanszki <b...@nxlog.org> wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Looks like the http endpoint is closing the connection immediately and >>>>>>> the >>>>>>> error message seems to be triggered by this. Are you running on windows? >>>>>>> >>>>>>> Regards, >>>>>>> Botond >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Fri, 28 Feb 2014 00:50:16 +0200 >>>>>>> Shedis <she...@gmail.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> When using om_http module i’m seeing the following messages in nxlog, >>>>>>>> are these normal, any hints what is going wrong here? >>>>>>>> >>>>>>>> <Output viahttp> >>>>>>>> Module om_http >>>>>>>> Url http://x.x.x.x:8000/in.adp >>>>>>>> </Output> >>>>>>>> >>>>>>>> nxlog shows: >>>>>>>> >>>>>>>> 2014-02-28 00:42:08 INFO nxlog-ce-2.7.1191 started >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds >>>>>>>> 2014-02-28 00:42:08 ERROR disconnected >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds >>>>>>>> 2014-02-28 00:42:08 ERROR disconnected >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds >>>>>>>> 2014-02-28 00:42:08 ERROR disconnected >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds >>>>>>>> 2014-02-28 00:42:08 ERROR disconnected >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 ERROR unhandled event! (reqevents: 33, rtnevents: >>>>>>>> 64) >>>>>>>> 2014-02-28 00:42:08 ERROR last message repeated 59 times >>>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds >>>>>>>> 2014-02-28 00:42:08 ERROR disconnected >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000 >>>>>>>> 2014-02-28 00:42:08 ERROR unhandled event! (reqevents: 33, rtnevents: >>>>>>>> 64) >>>>>>>> 2014-02-28 00:42:08 ERROR last message repeated 7 times >>>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds >>>>>>>> >>>>>>>> >>>>>>>> Thanks in advance! >>>>>>>> Regards, >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Subversion Kills Productivity. Get off Subversion & Make the Move to >>>>>>> Perforce. >>>>>>> With Perforce, you get hassle-free workflows. Merge that actually >>>>>>> works. >>>>>>> Faster operations. Version large binaries. Built-in WAN optimization >>>>>>> and the >>>>>>> freedom to use Git, Perforce or both. Make the move to Perforce. >>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >>>>>>> _______________________________________________ >>>>>>> nxlog-ce-users mailing list >>>>>>> nxlog-ce-users@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Subversion Kills Productivity. Get off Subversion & Make the Move to >>>>> Perforce. >>>>> With Perforce, you get hassle-free workflows. Merge that actually works. >>>>> Faster operations. Version large binaries. Built-in WAN optimization and >>>>> the >>>>> freedom to use Git, Perforce or both. Make the move to Perforce. >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> nxlog-ce-users mailing list >>>>> nxlog-ce-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users >>>> >>>> ------------------------------------------------------------------------------ >>>> Subversion Kills Productivity. Get off Subversion & Make the Move to >>>> Perforce. >>>> With Perforce, you get hassle-free workflows. Merge that actually works. >>>> Faster operations. Version large binaries. Built-in WAN optimization and >>>> the >>>> freedom to use Git, Perforce or both. Make the move to Perforce. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> nxlog-ce-users mailing list >>>> nxlog-ce-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users >>> >>> ------------------------------------------------------------------------------ >>> Subversion Kills Productivity. Get off Subversion & Make the Move to >>> Perforce. >>> With Perforce, you get hassle-free workflows. Merge that actually works. >>> Faster operations. Version large binaries. Built-in WAN optimization and >>> the >>> freedom to use Git, Perforce or both. Make the move to Perforce. >>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> nxlog-ce-users mailing list >>> nxlog-ce-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users >> >> ------------------------------------------------------------------------------ >> Subversion Kills Productivity. Get off Subversion & Make the Move to >> Perforce. >> With Perforce, you get hassle-free workflows. Merge that actually works. >> Faster operations. Version large binaries. Built-in WAN optimization and the >> freedom to use Git, Perforce or both. Make the move to Perforce. >> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >> _______________________________________________ >> nxlog-ce-users mailing list >> nxlog-ce-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > nxlog-ce-users mailing list > nxlog-ce-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ nxlog-ce-users mailing list nxlog-ce-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users