File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -213,11 +213,9 @@ command:
213213
214214**Log Files**
215215
216- ` minit` write console logs of every command unit into `/var/log/minit`
216+ By default `minit` only streams console logs of every command unit into it's own stdout/stderr.
217217
218- This directory can be overridden by environment `MINIT_LOG_DIR`
219-
220- Set `MINIT_LOG_DIR=none` to disable file logging and optimize performance of `minit`
218+ Set `MINIT_LOG_DIR` to enable file logging, for example : ` MINIT_LOG_DIR=/var/log/minit`
221219
222220**Console Encoding**
223221
Original file line number Diff line number Diff line change @@ -122,9 +122,7 @@ cron: $MY_SCHEDULE
122122
123123# # 日志文件
124124
125- ` minit` 会把每个单元的日志记录在 `/var/log/minit` 文件夹内,使用环境变量 `MINIT_LOG_DIR` 来修改这个目录
126-
127- 设置 `MINIT_LOG_DIR=none` 禁用日志文件功能,同时缩减内存使用量,优化标准输出性能
125+ 默认情况下,`minit` 会将所有进程的标准输出和标准错误打印出来,可以通过环境变量 `MINIT_LOG_DIR` 来指定日志目录,比如 `/var/log/minit`
128126
129127# # 日志字符集转换
130128
You can’t perform that action at this time.
0 commit comments