Skip to content

Commit 972c87c

Browse files
authored
Merge pull request #344 from patilms16/audit-hash-type-option
Pass 'audit_hash_type' option for getStream method
2 parents 9e88c1d + fcc42eb commit 972c87c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

daily-rotate-file.js

Lines changed: 2 additions & 1 deletion
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 ? options.auditHashType : 'sha256'
9596
});
9697

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

0 commit comments

Comments
 (0)