Skip to content

Commit 59dfac2

Browse files
committed
Add journalctl support for log_messages
1 parent 5489333 commit 59dfac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/monitor_tools.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ public function _getLogData($log) {
654654
if($journalmatch != ''){
655655
$log = $this->_getOutputFromExecCommand('journalctl -n 100 --no-pager ' . escapeshellcmd($journalmatch));
656656
}else{
657-
$log = 'Unable to read ' . $logfile;
657+
$log = 'Unable to read logfile';
658658
}
659659

660660
}

0 commit comments

Comments
 (0)