Hi Thomas,

See this post regarding the locking issue:
http://www.mail-archive.com/nxlog-ce-users@lists.sourceforge.net/msg00261.html

It may be possible to implement a directive like CloseWhenIdle which
would instruct the im_file module to close input files when there is no
new data available to read. This could help in your case, on the other
hand many other applications doing exclusive locking will fail if not
written to wait.

Regards,
Botond


On Thu, 21 Nov 2013 09:51:40 +0100
Thomas Gouverneur <t...@espix.net> wrote:

> Hello list!
> 
> I have setup nxlog on ~600 windows VM to be able to log both the
> windows audit log and a third party application which is logging
> messages into a flat log file.
> 
> nxlog has been successfully configured to log this file with following
> directives:
> 
> <Input iff1>
>     Module  im_file
>     File    "C:\mylogfile.log"
>     Exec    $Message = $raw_event;
>     SavePos TRUE
>     InputType m_replay
> </Input>
> 
> After a while, when the application want to rotate this logfile, it
> can't because nxlog is using it, apparently holding a lock or
> something..
> 
> If I'm stopping nxlog service, the application then can rotate and I
> can after that start nxlog again...
> 
> Does anybody has already faced this issue? any hint on how to overcome
> the issue?
> 
> Thanks a lot in advance,
> 
> --Thomas
> 
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing 
> conversations that shape the rapidly evolving mobile landscape. Sign up now. 
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> nxlog-ce-users mailing list
> nxlog-ce-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to