Skip to content

Commit 2762f84

Browse files
committedApr 8, 2022
Pass 'audit_hash_type' option for getStream method
1 parent 9e88c1d commit 2762f84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎daily-rotate-file.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ var DailyRotateFile = function (options) {
9191
extension: options.extension ? options.extension : '',
9292
create_symlink: options.createSymlink ? options.createSymlink : false,
9393
symlink_name: options.symlinkName ? options.symlinkName : 'current.log',
94-
watch_log: options.watchLog ? options.watchLog : false
94+
watch_log: options.watchLog ? options.watchLog : false,
95+
audit_hash_type: options.auditHashType || 'sha256'
9596
});
9697

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

0 commit comments

Comments
 (0)
Please sign in to comment.