Best setup for Apache logs

Hi all,

I’m looking for some advice as to what would be the best logging configuration in Apache, I’m using the format below:

CustomLog logs/website-access_log common

However that obviously doesn’t give me any information like user agent etc. I did some googling and it gave me the advice to modify it like this:

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
CustomLog log/access_log combined

Would Piwik work with the one above out of the box? Or would I have to give it some more information when importing log files?

Any advice would be great.