WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> E-mail alert including logfile
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1358586678

Message started by handsome on Jan 19th, 2013 at 10:11am

Title: E-mail alert including logfile
Post by handsome on Jan 19th, 2013 at 10:11am
Watchdirectory is a great product which we use on a couple of servers!
We have different jobs and they all work beautifully.

One question though regarding the warnings and errors e-mail messages that can be sent as a result of the job process. It is very nice to receive these but it would be great if they also could include the job log file as an attachment. We have eg. a auto extract job using 7-zip set up and it monitors all files in a specific directory including all subdirectories. If the zip-file that is to be uncompressed is corrupted I get an e-mail message alerting me about this. But the content is only something like this:

7-Zip reported errorcode 2 during uncompression
Date/Time: 19.1.2013 3:26:55

If I want to see exactly which zip-file it is that is corrupt I have not found any other way than to browse down into the job log directory for this job and find the log file with the same timestamp as when the error occured. Since this logfile is specific to this actual event it would be very helpful to receive it as an attachment to the e-mail message sparing me the tedious task of location the error.

Thanks for a great product!



Title: Re: E-mail alert including logfile
Post by Gert on Jan 19th, 2013 at 12:12pm
mmm, I think I can include the filename that is causing problems. I will see what I can do for the next beta.

Title: Re: E-mail alert including logfile
Post by handsome on Feb 24th, 2013 at 9:16am
Hi, thank you for the positive reply.

Any news on when this option could be available? Seems like it didn't make it to the last beta.


Title: Re: E-mail alert including logfile
Post by Gert on Feb 24th, 2013 at 9:22am
It is on the list of things to implement for the next beta which I hope will be somewhere next week.


Title: Re: E-mail alert including logfile
Post by handsome on May 28th, 2013 at 10:41pm
Hi

Any news on when the next beta or next version might be available?

Best regards,
Kjell

Title: Re: E-mail alert including logfile
Post by Gert on May 29th, 2013 at 7:43am
Hi,

The feature is implemented but currently we are waiting for an outside developer to implement a few fixes in his code. We received a new build from him yesterday but found a few small issues while testing. He promised a new build tomorrow or friday.

Sorry to keep you waiting.

Title: Re: E-mail alert including logfile
Post by Gert on May 30th, 2013 at 10:04am
Please see http://www.watchdirectory.net/cgi-bin/yabb2/YaBB.pl?num=1352102554

Title: Re: E-mail alert including logfile
Post by handsome on Jun 3rd, 2013 at 12:15pm
OK. I can verify that this is working fine in 4.7 beta 5.

Thank you!

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.