Skip to content

Commit

Permalink
parameterize from and to email on monolog error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
cordoval committed Jun 30, 2012
1 parent 8cc2073 commit d89fcbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/config/config_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ monolog:
handler: swift
swift:
type: swift_mailer
from_email: luis.cordova@knplabs.com
to_email: luis.cordova@knplabs.com
from_email: %monolog.swift.from_email%
to_email: %monolog.swift.to_email%
subject: "[ERROR] knpbundles.com"
level: debug

3 changes: 3 additions & 0 deletions app/config/parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ parameters:
url: "http://knpbundles.com"

knp_bundles.finder.limit: 2000

monolog.swift.from_email: error@knpbundles.com
monolog.swift.to_email: error@knpbundles.com

0 comments on commit d89fcbb

Please sign in to comment.