multiple log files in symfony
Posted
by Mike
on Stack Overflow
See other posts from Stack Overflow
or by Mike
Published on 2009-12-18T15:48:18Z
Indexed on
2010/06/18
9:23 UTC
Read the original article
Hit count: 285
I'd like to set up an additional log file in symfony, so that some messages (payment processing in my case) would go to a different file from the rest of symfony. Is it possible? Here's my current log configuration from factories.yml:
all:
logger:
param:
level: debug
loggers:
sf_file_debug:
param:
level: notice
file: /var/log/symfony/%SF_ENVIRONMENT%/%SF_APP%.log
© Stack Overflow or respective owner