Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mattab opened this issue Mar 25, 2014 · 1 comment
Closed

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

mattab opened this issue Mar 25, 2014 · 1 comment
Assignees
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Mar 25, 2014

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

ie. update http://piwik.org/docs/setup-auto-archiving/

maybe as simple as 2>& error.log ?

@mattab
Copy link
Member Author

mattab commented May 12, 2014

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 modified the milestones: 2.4.0 - Piwik 2.4.0, 2.3.0 - Piwik 2.3.0 Jul 11, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

2 participants