相关片段来自factories.yml:
prod:
logger:
class: sfAggregateLogger
param:
level: err
loggers:
sf_file_err:
class: sfFileLogger
param:
level: err
file: %SF_LOG_DIR%/%SF_APP%_%SF_ENVIRONMENT%.log
问题:所有操作都被记录在日志中。