Skip to content

Commit

Permalink
Merge pull request #200 from SigniantJoe/master
Browse files Browse the repository at this point in the history
Allow updating appName without reinstantiation
  • Loading branch information
wbt authored Aug 5, 2022
2 parents 5ee11d4 + 55f4863 commit 22ba24d
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 22ba24d

Please sign in to comment.