Skip to content

Commit

Permalink
Merge pull request #344 from patilms16/audit-hash-type-option
Browse files Browse the repository at this point in the history
Pass 'audit_hash_type' option for getStream method
  • Loading branch information
wbt authored Apr 29, 2022
2 parents 9e88c1d + fcc42eb commit 972c87c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion daily-rotate-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ var DailyRotateFile = function (options) {
extension: options.extension ? options.extension : '',
create_symlink: options.createSymlink ? options.createSymlink : false,
symlink_name: options.symlinkName ? options.symlinkName : 'current.log',
watch_log: options.watchLog ? options.watchLog : false
watch_log: options.watchLog ? options.watchLog : false,
audit_hash_type: options.auditHashType ? options.auditHashType : 'sha256'
});

this.logStream.on('new', function (newFile) {
Expand Down

0 comments on commit 972c87c

Please sign in to comment.