Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.