Skip to content

Commit

Permalink
[Duplicate] Use systemd service name as the app name
Browse files Browse the repository at this point in the history
Considering the lack of activity on #169 and the need for rebasing, we needed to have this for resolving #168
  • Loading branch information
Samir Musali authored and smusali committed Oct 28, 2020
1 parent 00edf75 commit a084420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/file-utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function streamAllLogs(config, callback) {
return {
t: data.__REALTIME_TIMESTAMP
, line: data.MESSAGE
, f: data.CONTAINER_NAME || data.SYSLOG_IDENTIFIER || 'UNKNOWN_SYSTEMD_APP'
, f: data.CONTAINER_NAME || data._SYSTEMD_UNIT || data.SYSLOG_IDENTIFIER || 'UNKNOWN_SYSTEMD_APP'
, pid: data._PID && parseInt(data._PID)
, prival: data.PRIORITY && parseInt(data.PRIORITY)
, containerid: data.CONTAINER_ID_FULL
Expand Down

0 comments on commit a084420

Please sign in to comment.