]>
Commit | Line | Data |
---|---|---|
16987e9d ER |
1 | --- cacti-0.8.7b/poller.php~ 2008-10-05 16:58:33.000000000 +0300 |
2 | +++ cacti-0.8.7b/poller.php 2008-10-05 17:45:53.825952709 +0300 | |
81fd7803 AM |
3 | @@ -665,7 +665,8 @@ function log_cacti_stats($loop_start, $m |
4 | ); | |
16987e9d | 5 | |
81fd7803 AM |
6 | $cacti_stats = vsprintf('Time:%01.4f Method:%s Processes:%s Threads:%s Hosts:%s HostsPerProcess:%s DataSources:%s RRDsProcessed:%s', $perf_data); |
7 | - cacti_log('STATS: ' . $cacti_stats , true, 'SYSTEM'); | |
55cf0435 | 8 | + if (read_config_option('log_verbosity') > POLLER_VERBOSITY_NONE) |
81fd7803 | 9 | + cacti_log('STATS: ' . $cacti_stats , true, 'SYSTEM'); |
16987e9d | 10 | |
55cf0435 | 11 | /* insert poller stats into the settings table */ |
81fd7803 | 12 | db_execute_prepared('REPLACE INTO settings (name, value) VALUES ("stats_poller",?)', array($cacti_stats)); |
55cf0435 | 13 |