Hi friends. Hope everyone is doing well.
I got this issue today i really feel dumb about it.
i double checked the location of the file with :
sudo -u apache php /var/www/html/nextcloud/occ log:file
Log backend file: enabled
Log file: nextcloud.log
Rotate at: 100 MB
i found the log file
find / -name nextcloud.log | xargs ls -lah
-rw-rw-rw-. 1 apache apache 0 May 29 10:58 /var/www/html/nextcloud/data/nextcloud.log
at some point the conf worked but after adding the timezone it failed.
So i removed this options and tried many other possibilities
the official documentation config :
"log_type" => "file",
"logfile" => "nextcloud.log",
"loglevel" => 3,
"logdateformat" => "F d, Y H:i:s",
this sub workaround config :
nothing works anymore but it worked at some point that’s why i’m puzzled.
am i missing an obvious point here ?
SElinux is disabled.
I cannot find the log which can tell me why logging doesn’t work.
Can some nexctloud wizard give me a hint here cause i feel so dumb about this.
Thank you very much and have a good day.