Skip to content

Commit

Permalink
docs(logger): the unit of maxFileSize should be byte (#2575)
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore authored and dead-horse committed May 30, 2018
1 parent 26c2741 commit c91e67c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/en/core/logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ module.exports = appInfo => {
filesRotateBySize: [
path.join(appInfo.root, 'logs', appInfo.name, 'egg-web.log'),
],
maxFileSize: 2 * 1024 * 1024,
maxFileSize: 2 * 1024 * 1024 * 1024,
},
};
};
Expand Down
2 changes: 1 addition & 1 deletion docs/source/zh-cn/core/logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ module.exports = appInfo => {
filesRotateBySize: [
path.join(appInfo.root, 'logs', appInfo.name, 'egg-web.log'),
],
maxFileSize: 2 * 1024 * 1024,
maxFileSize: 2 * 1024 * 1024 * 1024,
},
};
};
Expand Down

0 comments on commit c91e67c

Please sign in to comment.