# Save error.log ???

**URL:** <https://forums.interworx.com/t/save-error-log/12559>\
**Category:** Hacks / Tools / Tips / Tricks\
**Created:** [March 2, 2010, 4:28pm UTC](https://forums.interworx.com/t/save-error-log/12559 "2010-03-02T16:28:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave](https://forums.interworx.com/letter_avatar_proxy/v4/letter/d/ee7513/32.png) [@Dave](https://forums.interworx.com/u/Dave)\
**Post date:** [March 2, 2010, 4:28pm UTC](https://forums.interworx.com/t/save-error-log/12559/1 "2010-03-02T16:28:06Z")

</div>

I have a client who would like to save the error.log for his site. He would like to do it in much the same way as the transfer.log is saved.

Anybody know how to make that happen?

dave

---

<div class="post-metadata">

**Author:** ![SoccerGuy3](https://forums.interworx.com/user_avatar/forums.interworx.com/soccerguy3/32/56_2.png) [@SoccerGuy3](https://forums.interworx.com/u/SoccerGuy3)\
**Post date:** [September 1, 2010, 9:37am UTC](https://forums.interworx.com/t/save-error-log/12559/2 "2010-09-01T09:37:15Z")

</div>

Bump. I could use this too right now.

---

<div class="post-metadata">

**Author:** ![tiger](https://forums.interworx.com/letter_avatar_proxy/v4/letter/t/a8b319/32.png) [@tiger](https://forums.interworx.com/u/tiger)\
**Post date:** [November 9, 2010, 12:25am UTC](https://forums.interworx.com/t/save-error-log/12559/3 "2010-11-09T00:25:13Z")

</div>

me too

it would be even better if the webmaster gets notified (via mail) on repeated errors (may be by detecting how many times the file was modified?)

I have seen in some situatins (I don’t know if it is in a cpanel hosted environment or not) the error log file is saved on a per dir basis (probably for script errors?). For this, we can have a script on cron which would detect these files in sub dirs and notify us accordingly (the file contents have to be mailed to us and then renamed)
