Just trying to set up production logging on a Symfony 1.4 site (yes we've told them to upgrade).
It's logging as expected for public, but it's not generating a file or any logs for admin.
This is my settings.yml in apps/admin/config:
prod:
.settings:
no_script_name: false
logging_enabled: true
And this is my factories.yml in apps/admin/config:
prod:
logger:
class: sfFileLogger
param:
level: err
loggers: ~
file: %SF_LOG_DIR%/%SF_APP%_%SF_ENVIRONMENT%.log
It's exactly the same in apps/public/config and that's logging fine.