Skip to content

Commit

Permalink
Merge pull request #77 from SURFnet/feature/json-logging
Browse files Browse the repository at this point in the history
Format log messages to JSON in file logs as well
  • Loading branch information
rjkip committed Jun 17, 2015
2 parents e6f900f + 049d3d7 commit b6cdb09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/config/config_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ monolog:
handler: logfile
level: NOTICE
path: %kernel.logs_dir%/%kernel.environment%.log
formatter: surfnet_stepup.monolog.json_formatter
main_debuglog:
type: stream
handler: logfile
level: DEBUG
path: "%kernel.logs_dir%/%kernel.environment%.debug.log"
formatter: surfnet_stepup.monolog.json_formatter
graylog:
type: gelf
publisher: { hostname: %graylog_hostname% }
Expand Down

0 comments on commit b6cdb09

Please sign in to comment.