Hi folks,

Logging is giving me fits, and I don't understand why.  FWIW, I've
tried both with and without sfAdvancedLogger, and I can't tell a
difference.

Right now, I'm getting lots of info() logging entries from Symfony.  I
want to disable that, so that I only get debugging output. using this
logging.yml:
all:
  enabled: on
  level:   debug
  rotate:  off
  period:  7
  history: 10
  purge:   on
  loggers:
    sf_web_debug:
      class: sfWebDebugLogger
      param:
        condition: %SF_WEB_DEBUG%
    sf_file_debug:
      class: sfFileLogger
      param:
        file: %SF_LOG_DIR%/%SF_APP%_%SF_ENVIRONMENT%.log


My log file is full of:
Nov 05 09:03:04 symfony [info] {sfRouting} connect "/login"
Nov 05 09:03:04 symfony [info] {sfRouting} connect "/logout"
Nov 05 09:03:04 symfony [info] {sfRouting} connect "/request_password"
Nov 05 09:03:04 symfony [info] {sfContext} initialization
Nov 05 09:03:04 symfony [info] {sfController} initialization


What am I missing here?

I've also tried sfAdvancedLoggerPlugin (which I want to use).  I want
to implement this ideally with that.

Here's that logging.yml file:
all:
  enabled: on
  loggers:
    sf_advanced_logger:
       class: sfAdvancedLogger
       param:
         php_level: 4095 # E_ALL | E_STRICT
         exception: on # log uncaught exceptions
         file:
           - level: 0 # SF_LOG_EMERG
             file: %SF_LOG_DIR%/emerg.log
           - min_level: 5 # SF_LOG_NOTICE and up
             file: %SF_LOG_DIR%/notice_and_up.log
           - type: [PHP, Exception] # Only PHP and uncaught exception
             file: %SF_LOG_DIR%/php.log
           - min_level: 5 # SF_LOG_NOTICE and up
             type: View
             file: %SF_LOG_DIR%/view.log


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to