I have this setup in my symfony application:
# settings.yml
prod:
.settings:
no_script_name: true
logging_enabled: true
#logging.yml
prod:
enabled: on
level: debug
rotate: on
period: 1 ## Log files are rotated every 1 day
history: 30 ## A maximum history of 30 log files is kept
purge: off
But I only find one file (frontend_prod.log) in my logs dir.
If you are indeed using 1.4, I don’t think log rotation from the settings file isn’t supported any more. You should use the
log:rotatetask from the CLI (in a cron tab perhaps), and use the--historyand--periodoptions.