4.4. 更改日志记录配置
日志文件的默认位置是 tempest 工作区中的日志目录。
要更改此目录,在 [DEFAULT] 部分下的 tempest.conf 中,将 log_dir 设置为所需的目录:
[DEFAULT]
log_dir = <directory>
如果您有自己的日志记录配置文件,在 tempest.conf 下,在 [DEFAULT] 部分下,将 log_config_append 设置为您的文件中:
[DEFAULT]
log_config_append = <file>
如果设置 log_config_append 属性,则 Tempest 会忽略 tempest.conf 中的所有其他日志记录配置,包括 log_dir 属性。