Setting up logging on LAMP Stack
Hello there -
I'm having a few issues I can't seem to sort out - I was hoping someone could point me in the right direction. I've googled and searched these forums to no avail.
I have a droplet set up with a nice little LAMP stack, phpMyAdmin, Fail2Ban, etc. I added SSL today, and am currently running through the joys of doing that (which I won't go into right now) - and found I needed Apache and PHP error logs. I had no problem setting up the directory/location of where to put the log files, and the apache logs seem to be working fine. However, the PHP log file I set up isn't doing anything. I even purposely made PHP mistakes to test that the log was working, and it's not. (I do see the PHP errors showing up in the apache log though - I'd rather keep them separated, if I can.)
I set up the PHP error log location in my php.ini file, and the phpinfo() test I have tells me that PHP is looking for the log where I placed it, however, nothing is getting written to the log file. So I'm wondering if I missed something along the line? (if it helps, I directed the log files to be placed in a /home/logs directory I created.)
And while I'm at it, I'd love to make the error logs just a bit more verbose. Is there any way to pull that off?
Thanks muchly :)