Skip to content

Commit

Permalink
Merge pull request #83 from SURFnet/feature/json-logging
Browse files Browse the repository at this point in the history
Format JSON to syslog
  • Loading branch information
rjkip committed Jun 17, 2015
2 parents 401383c + e0bcd83 commit 07fd681
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 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
1 change: 1 addition & 0 deletions app/config/logging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ monolog:
type: syslog
ident: stepup-ra
facility: user
formatter: surfnet_stepup.monolog.json_formatter
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 07fd681

Please sign in to comment.