Skip to content

Commit

Permalink
Pass 'audit_hash_type' option for getStream method
Browse files Browse the repository at this point in the history
  • Loading branch information
patilms16 committed Apr 8, 2022
1 parent 9e88c1d commit 2762f84
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 || 'sha256'
});

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

0 comments on commit 2762f84

Please sign in to comment.