#772 logresolvemerge.pl fails when a server is down

6.95
closed
5
2012-10-11
2009-11-01
No

Change the "error()" when trying open a log file in logresolvemerge.pl to "debug()" instead, so that when a server is down it doesn't stop the entire log analysis.

logresolvemerge.pl FROM
open("LOG$logfilenb","$LogFileToDo{$logfilenb}") || error("Couldn't open log file \"$LogFileToDo{$logfilenb}\" : $!");
TO
open("LOG$logfilenb","$LogFileToDo{$logfilenb}") || debug("Couldn't open log file \"$LogFileToDo{$logfilenb}\" : $!");

Discussion

  • Chris Larsen

    Chris Larsen - 2010-04-30

    Added/Fixed in CVS tree. Will be available in next version.

     
  • Chris Larsen

    Chris Larsen - 2010-04-30

    Added option to ignore missing files

     

Log in to post a comment.