Symfony web debug tool bar disappears when using sfNoLogger

984 views Asked by At

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

There are 1 answers

0
Pabloks On

Because the sf*No*Logger does not log anything. It's usually used for production.