Skip to content

Version 1.23.1

Latest

Choose a tag to compare

@marjune163 marjune163 released this 22 Nov 03:19

feat: add option --mutation-log

BREAKING CHANGE

Before:

Mutation logs like mkdir/upload/delete are put into access log
specified by --access-log.

After:

Mutation logs like mkdir/upload/delete are put into mutation log
specified by --mutation-log, which defaults to "-" (stdout).
Set it to empty to disable mutation log.

Upgrade note: If you relied on --access-log to record operations like uploads and deletions, you now need to set --mutation-log separately. Otherwise these logs go to stdout by default and are no longer written to the access log file.


feat:新增选项 --mutation-log

破坏性变更

之前:

mkdir、upload、delete 等变更类日志写入 --access-log 指定的访问日志。

现在:

mkdir、upload、delete 等变更类日志改为写入 --mutation-log 指定的变更日志。该选项默认为 "-"(标准输出),设为空值即可禁用变更日志。

升级时要留意:如果原来靠 --access-log 记录上传、删除等操作,现在要另外设置 --mutation-log。否则这类日志会默认输出到标准输出,不再写进访问日志文件。