can I know how log files are being handled in ispconfig 3?
Specifically, how to make changes to log files for each domain. Like customs logs or set it to weekly instead of daily (default).
Thanks.
edit:
I just digged deeper into ispconfig and found the cron_daily.php file. Seems like this is hardcoded into the file for daily log rotate. Anyway to change this without change codes?
Posts: 31,903
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
ispconfig uses vlogger for logging and vlogger rotates files on a daily basis. cron_daily is not doing the rotation of the logfiles, it just compresses them and deletes them after some time.
That files points to the ispconfig database. Is the logging configuration stored in the server? If not where is the configuration stored? Sorry I can't find where it is.
I also found /usr/local/ispconfig/interface/web/admin/templates/server_config_vlogger_edit.htm
Is that for editing vlogger settings? But I can't find this option in the ispconfig menu.
Posts: 31,903
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
The vlogger configuration is in the file /etc/apache2/sites-enabled/000-ispconfig.conf
The path might vary depending on the apache config file directory of your linux distribution. The complete configuration is just one line (the custom log line).
Recent comments
1 day 56 min ago
1 day 7 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 21 hours ago
2 days 7 hours ago
2 days 7 hours ago
2 days 11 hours ago
2 days 15 hours ago
2 days 16 hours ago