Zen Cart Logo
Forums / General Questions / Email notification when error log file is created

Email notification when error log file is created

Views: 783

Results 1 to 6 of 6
1 Apr 2015, 12:02 PM
#1
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
413
Plugin Contributions:
0

Email notification when error log file is created

Is there a setting to enable email notification when an error log file is crreated in the logs folder, or does such a plugin exist?

1 Apr 2015, 12:08 PM
#2
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Location:
Longs, SC
Posts:
635
Plugin Contributions:
0

Re: Email notification when error log file is created

You might want to take a look at this mod. http://www.zen-cart.com/downloads.php?do=file&id=845. It will show you changes in all files.

1 Apr 2015, 12:13 PM
#3
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
413
Plugin Contributions:
0

Re: Email notification when error log file is created

Thanks but I don't see that has anything to do with my question. I just want to be notified by email when an error-log file has been created in the logs folder.

1 Apr 2015, 12:19 PM
#4
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Location:
Longs, SC
Posts:
635
Plugin Contributions:
0

Re: Email notification when error log file is created

If you set this up as a cron job you can receive an email every time it runs that shows you the changed files. That would include debug files. It would look like this:

Watching 4811 files in 305 directories (recursion level 99).

The following file changes since 2013-11-16 08:00:08 were detected:

Changes in directory /home1/xxxxxx/public_html/cache/
DELETED: myDEBUG-1384580718-95700.log (was 2013-11-15 23:45:19 SIZE=332)

1 files affected (0 added, 1 deleted, 0 updated)
in 1 directories
Net file size decrease 332 bytes

1 Apr 2015, 12:26 PM
#5
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
413
Plugin Contributions:
0

Re: Email notification when error log file is created

Oh I see, neat idea, I might give that a try.

1 Apr 2015, 2:47 PM
#6
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Email notification when error log file is created

Better try this addon Display Log Files .This plugin allows an admin user to view log from the admin