Hi,

You could set up log rotation and only collect the rotated files.

Regards,
Botond


On Fri, 4 Jul 2014 16:13:26 +1000
"Paul Lattimer" <paul.latti...@aot.com.au> wrote:

> Thanks for your reply Botond,
> Do you or anyone know of any way to tail a file that is being written this 
> way?
> It's driving me up the wall!
> 
> Paul
> 
> 
> 
> 
> -- 
> Paul Lattimer
> IT - Linux Systems Administrator 
>  
> 
>       
> -----Original Message-----
> From: Botond Botyanszki <b...@nxlog.org 
> <mailto:botond%20botyanszki%20%3cb...@nxlog.org%3e> >
> To: nxlog-ce-users@lists.sourceforge.net
> Subject: Re: [nxlog-ce-users] nxlog duplicated messages windows + tomcat7
> Date: Thu, 3 Jul 2014 11:30:06 +0200
> 
> 
> 
> Hi,
> 
> On Thu, 3 Jul 2014 14:25:50 +1000
> "Paul Lattimer" <paul.latti...@aot.com.au> wrote:
> 
> > Shipping the log works fine except that EVERY message is duplicated.
> > The source of the log doesn't contain the duplicates, but the output from
> > nxlog does - as I have changed the output to be a local file and the
> > duplicates are in this file. The duplicates may not appear one after the
> > other - they may be separated by several lines.
> 
> This is most likely caused by the application not writing the log file in
> append mode, i.e. it probably truncates and rewrites the logfile.
> 
> Regards,
> Botond
> 
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> nxlog-ce-users mailing list
> nxlog-ce-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
> 
> ______________________________________________________________________
> 
> This email and any files transmitted with it are confidential and intended 
> solely for the use of the individual or entity to whom they are addressed. If 
> you have received this email in error please notify the sender. Please note 
> that any views or opinions presented in this email are solely those of the 
> author and do not necessarily represent those of the company. Finally, the 
> recipient should check this email and any attachments for the presence of 
> viruses. The company accepts no liability for any damage caused by any virus 
> transmitted by this email.
> ______________________________________________________________________

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to