DELTA 485683 0 21 SVN ba, 202.0ENDREP DELTA 485683 46 162 SVN 6745499 SHA256 (cacti-1.2.0.tar.gz) = 89955877f4d2c2f025f11b5f0bbbd658b89a6f8fb3da94525460c11d787dfdad SIZE (cacti-1.2.0.tar.gz) = 23258730 ENDREP DELTA 447970 234 127 SVN VV; }Y:9-01-03 02:14:26 UTC +++ include/global.php @@ -173,7 +173ENDREP DELTA 463550 235 112 SVN p ( G `m@9-01-03 02:14:26 UTC +++ include/global_settings.php @@ -160,10 +160,10 'file_type' => 'ascii', - 'default' => $config['base_path'] . '/log/cacti.log', + 'default' => /var/log/cacti/log', 'max_length' => '255', 'install_check' => 'writable' ), ENDREP DELTA 447970 502 78 SVN /@" i 9-01-03 02:14:26 UTC +++ install/functions.php @@ -528,7 +528,7 @@ function install_file_paths() { /* log file path */ $input['path_cactilog'] = $settings['path']['path_cactilog']; if (empty($input['path_cactilog']['default']))stderr log file path */ ENDREP DELTA 447970 608 223 SVN !eF 0D9-01-03 02:14:26 UTC +++ lib/clog_webapi.php @@ -56,7 +56,7 @@ function clog_validate_filename(&$file, &$filepath, &$ $logbase = basename($logfileerrfile = read_config_option('path_stderrlog'); ENDREP DELTA 447970 859 136 SVN KpT RR9-01-03 02:14:26 UTC +++ lib/functions.php @@ -818,7 +818,7 @@ function cacti_log_file() { global $config; $logfile = read_config_option('path_cactilog'); if ($logfile == '') { - $logfile = $config['base_path'] . '/log/cacti.log'; + $logfile = '/var/log/cacti/log'; } $config['log_path'] = $logfile; return $logfile; ENDREP DELTA SVN SUSS--- lib/installer.php.orig 2019-01-06 07:22:22 UTC +++ lib/installer.php @@ -3222,7 +3222,7 @@ class Installer implements JsonSerializable { public static function getInstallLog() { global $config; - $logcontents = tail_file($config['base_path'] . '/log/cacti.log', 100, -1, ' INSTALL:' , 1, $total_rows); + $logcontents = tail_file('/var/log/cacti/log', 100, -1, ' INSTALL:' , 1, $total_rows); $output_log = ''; foreach ($logcontents as $logline) { ENDREP DELTA 485683 235 22 SVN