当关闭时,在所有情况下都将追加已有的文件。例如,将此设置与log_filename(如postgresql-%H.log)结合使用,将生成24小时的日志文件,然后循环覆盖它们。该参数只能在postgresql.conf文件或服务器命令行中设置。 示例:如果要保留7天的日志,则每天一个日志文件server_log.Mon,server_log.Tue等,并自动用本周的日志覆盖上...
log_truncate_on_rotation 参数说明:logging_collector设置为on时,log_truncate_on_rotation设置日志消息的写入方式。 该参数属于SIGH
This time, I'd like to describe how logging works. And I don't mean binary logging (WAL), but the log for us, humans, to read. Before I will go to the postgresql.conf options, let me first describe what happens when PostgreSQL wants to log something. Continue reading Understanding ...
书名:数字化系统安全加固技术 作者名:白婧婧 田康 李博 高尉峰 朱康 本章字数:85字 更新时间:2024-12-12 17:29:22 后续精彩内容,请登录阅读 上QQ阅读APP看书,第一时间看更新