尽管{errlog_type,error},SASL仍存储进度报告

问题描述

|| 使用此配置文件
[
 {gmcontroller,[{config_file,\"/mware/config/controller.config\"}]},%% SASL config
 {sasl,[
         {sasl_error_logger,false},{errlog_type,error},{error_logger_mf_dir,\"log/sasl\"},% Log directory
         {error_logger_mf_maxbytes,10485760},% 1 MB max file size
         {error_logger_mf_maxfiles,5}           % 5 files max
         ]}
].
SASL出于某些原因保留进度报告:
4> rb:start([{report_dir,\"/mware/log/sasl\"}]). 
rb: reading report...done.
rb: reading report...done.
rb: reading report...done.
rb: reading report...done.
rb: reading report...done.

=PROGRESS REPORT==== 13-Apr-2011::16:29:11 ===
          supervisor: {local,sasl_sup}
             started: [{pid,<0.48.0>},{name,rb_server},{mfargs,{rb,start_link,[[{report_dir,\"/mware/log/sasl\"}]]}},{restart_type,temporary},{shutdown,brutal_kill},{child_type,worker}]
{ok,<0.48.0>}

5> rb:list().
  No                Type      Process       Date     Time
  ==                ====      =======       ====     ====
 157            progress  <6835.60.0> 2011-04-13 14:10:31
 156            progress  <6835.60.0> 2011-04-13 14:10:31
 ...
我知道配置文件正在使用中,因为日志文件的大小正确且在预期目录中。那我在做什么错?     

解决方法

errlog_type
的文档说:   
errlog_type = error | progress | all <optional>
     将指定的“ 4”执行的错误记录限制为错误报告和/或进度报告。默认值为
all
。 我读这句话的意思是它仅适用于
sasl_error_logger
记录的内容,不适用于其他记录器,在这种情况下为多文件记录器。