Skip to content

Commit

Permalink
Allow updating appName on the fly
Browse files Browse the repository at this point in the history
  • Loading branch information
sigJoe committed Jul 22, 2022
1 parent 5ee11d4 commit 55f4863
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/winston-syslog.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ class Syslog extends Transport {
const syslogMsg = this.producer.produce({
severity: level,
host: this.localhost,
appName: this.appName,
date: new Date(),
message: this.endOfLine ? output + this.endOfLine : output
});
Expand Down

0 comments on commit 55f4863

Please sign in to comment.