Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/net-mgmt/cacti/files/patch-poller_maintenance.php
16461 views
1
--- poller_maintenance.php.orig 2019-01-03 02:14:26 UTC
2
+++ poller_maintenance.php
3
@@ -227,7 +227,7 @@ function logrotate_rotatenow() {
4
$logs = array();
5
$log = read_config_option('path_cactilog');
6
if (empty($log)) {
7
- $log = $config['base_path'] . '/log/cacti.log';
8
+ $log = '/var/log/cacti/log';
9
}
10
$logs['Cacti'] = $log;
11
12
13