Is it a bad idea to write audit/access/transaction log information directly to the filesystem?
There is nothing wrong with writing logs to a file, you just need to make sure you create a special directory for it and add .htaccess that will prevent listing, and probably deny all access to it from the web. There is nothing overly wrong with storing data in the DB provided you do it … Read more