Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Do I need to keep Apache access logs if I'm using Piwik for analytics (or Google Analytics)?

True, these could serve as a backup. However, rotation would remove a certain history from the logs though.

share|improve this question
up vote 1 down vote accepted

The advantage of web server access logs is that they are entirely within your control. Because Google Analytics and Piwiks rely on javascript run within the user's browser, the user can disable them, or modify their activity.

For security purposes alone I would recommend retaining at least some of your web server logs.

share|improve this answer
Exactly this - logs aren't just to count visitors, they're there to help you support the server. – EightBitTony Jun 11 '13 at 13:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.