I'm looking for a best practice for logging stats on my server. I've seen a lot of packages which do most of the thinks but I am building the front-end myself. So basically I'm looking for pure the logging part. Any best practice tips for doing it myself or frameworks which can be taken apart for usage (or as example to build my own)
Linux server with:
- Apache (+PHP)
- nGinX
- MySQL (Percona)
- Varnish
- APC
- Traffic
I was thinking about logging this to mysql for easy (remote) access.