mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #3171 from Ultra2D/syslog-trim
Syslog trim whitespace
This commit is contained in:
@@ -124,6 +124,7 @@ function process_syslog($entry, $update) {
|
||||
}
|
||||
|
||||
$entry['program'] = strtoupper($entry['program']);
|
||||
$entry = array_map('trim', $entry);
|
||||
|
||||
if ($update) {
|
||||
dbInsert(
|
||||
|
Reference in New Issue
Block a user