1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/net-mgmt/cacti/files/patch-poller_maintenance.php
Steve Wills 7c413a84c2 net-mgmt/cacti: update to 1.2.0
PR:		234664
Submitted by:	Daniel Austin <freebsd-ports@dan.me.uk> (maintainer)
2019-01-06 16:32:03 +00:00

12 lines
336 B
PHP

--- poller_maintenance.php.orig 2019-01-03 02:14:26 UTC
+++ poller_maintenance.php
@@ -227,7 +227,7 @@ function logrotate_rotatenow() {
$logs = array();
$log = read_config_option('path_cactilog');
if (empty($log)) {
- $log = $config['base_path'] . '/log/cacti.log';
+ $log = '/var/log/cacti/log';
}
$logs['Cacti'] = $log;