Skip to content

Commit 6abffe1

Browse files
authored
Fix polling writing to log file (librenms#17983)
used by dispatcher "watchdog"
1 parent 2f792df commit 6abffe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Jobs/PollDevice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function handle(): void
9090
$measurement->getDuration()));
9191

9292
// add log file line, this is used by the simple python dispatcher watchdog
93-
Log::channel('single')->alert(sprintf('INFO: device:poll %s (%s) polled in %0.3fs',
93+
Log::channel('log_file')->alert(sprintf('INFO: device:poll %s (%s) polled in %0.3fs',
9494
$this->device->hostname,
9595
$this->device->device_id,
9696
$measurement->getDuration()));

0 commit comments

Comments
 (0)