Symfony web debug tool bar disappears when using sfNoLogger

自闭症网瘾萝莉.ら 提交于 2019-12-11 20:34:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!