$config['log_file'] = USE IT.

git-svn-id: http://www.observium.org/svn/observer/trunk@1440 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-20 13:02:54 +00:00
parent 0345943f58
commit f63e913a0e
5 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -277,6 +277,6 @@ if($polled_devices) {
$string = $argv[0] . " $doing " . date("F j, Y, G:i") . " - $polled_devices devices polled in $poller_time secs";
if ($debug) echo("$string\n");
shell_exec("echo '".$string."' >> ".$config['install_dir']."/observium.log"); # FIXME EWW
shell_exec("echo '".$string."' >> ".$config['log_file']); # FIXME EWW
?>