I'm using a Php lib (Monolog) to create my logs.
When I delete my log file and access my website in order to generate logs, I see the file created into the good log directory:
-rw-r--r-- 1 apache apache 0 Nov 21 15:22 portal.log
But it's always empty (every request should be logged)... On the other hand the last modified date is updated every time it should generate logs.
I suspect a chmod problem, to fix it I tried a chmod 777 on the log file:
-rwxrwxrwx 1 apache apache 0 Nov 21 15:28 portal.log
But it doesn't fix the problem, same symptoms...
Did I miss something with chmod configuration?