Skip to content

Commit

Permalink
feat: Set -bb3 switch as default
Browse files Browse the repository at this point in the history
  • Loading branch information
q2s2t committed Sep 11, 2018
1 parent ffe604a commit 7f95b41
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,16 @@ archive, filenames and destinations.

Use `{ scc: 'UTF-8' }` for special characters.

### Log level

The default log level (`-bb` switch) is set to:
> 3 :show information about additional operations (Analyze, Replicate) for "Add"
> / "Update" operations.
It's a base feature of `node-7z` and is required for the `SevenZipStream#data`
event to work as expected. A diffrent value can be used but the output values
from the stream will be impacted. In particular a log level of `0` will cause
the stream not to emit data correctly.

***
With :heart: from [quentinrossetti](http://quentinrossetti.me/)

Expand Down
2 changes: 1 addition & 1 deletion lib/references.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const swRepeating = {
*/
export const swArgs = {
ao: undefined, // Overwrite mode
bb: undefined, // Set output log level
bb: '3', // Set output log level
bs: undefined, // Set output stream for output/error/progress
o: undefined, // Set Output directory
p: undefined, // Set Password
Expand Down

0 comments on commit 7f95b41

Please sign in to comment.