I am trying to rotate a logfile based on age (@daily), when nxlog starts it doesn't complain about anything but when it attempts to rotate the log I receive the following error:
2013-11-22 00:00:00 ERROR Scheduled execution failed;procedure 'file_cycle' failed at line 13, character 55 in /etc/nxlog.d/01-tcp-server-1514.conf. statement execution has been aborted;binary operation failed at line 13, character 51 in /etc/nxlog.d/01-tcp-server-1514.conf. expression evaluation has been aborted;binary operation failed at line 13, character 43 in /etc/nxlog.d/01-tcp-server-1514.conf. expression evaluation has been aborted;missing logdata, no field available in this context at line 13, character 41 in /etc/nxlog.d/01-tcp-server-1514.conf. operation possibly after drop() Here is the configuration - line numbers included for clarification 04 define LOGDIR /var/nxlog 09 <Extension fileop> 10 Module xm_fileop 11 <Schedule> 12 When @daily 13 Exec file_cycle('%LOGDIR%/' + $Hostname + '.log', 7); 14 </Schedule> 15 </Extension> Does the xm_fileop module have an issue with the log file or have I simply over looked something obvious? ------------------------------------------------------------------------------ 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