Document how to log errors from archive.php cron, into a file #4907

mattab opened this Issue Mar 25, 2014 · 1 comment

2 participants

Piwik Open Source Analytics member

Let's document how to log errors on the archive.php script.

ie. update

maybe as simple as 2>& error.log ?

Piwik Open Source Analytics member

Added documentation on the Auto Archiving user guide:

2>& /home/example/piwik-archive-errors.log is the optional path where the script will write the error messages. If you omit this from the cron tab, then errors will be emailed to your MAILTO address. If you write this in the crontab, then errors will be logged in this specified error log file.

@mattab mattab added this to the 2.3.0 - Piwik 2.3.0 milestone Jul 8, 2014
@tsteur tsteur was assigned by mattab Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment