问题
Why does the web debug tool bar disappear when I use sfNoLogger in the factories.yml:
dev:
logger:
class: sfNoLogger
param:
level: err
loggers: ~
When I remove these lines the tool bar appears.
回答1:
Because the sf*No*Logger does not log anything. It's usually used for production.
来源:https://stackoverflow.com/questions/5119955/symfony-web-debug-tool-bar-disappears-when-using-sfnologger