Created
August 14, 2019 10:29
-
-
Save EdwardIII/6f7a2b4529d82d57d9aa34966125d4d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
monolog: | |
handlers: | |
app: | |
type: stream | |
path: "%kernel.logs_dir%/%kernel.environment%_app.log" | |
level: debug | |
channels: ["!event", "!request", "!security"] | |
formatter: app.line_formatter | |
excluded_404s: | |
- .* | |
app_verbose: | |
type: stream | |
#path: "%kernel.logs_dir%/%kernel.environment%_app_verbose.log" | |
path: "php://stderr" | |
level: debug | |
channels: ["!event"] | |
formatter: app.line_formatter | |
excluded_404s: | |
- .* | |
main: | |
type: stream | |
path: "%kernel.logs_dir%/%kernel.environment%.log" | |
level: debug | |
formatter: app.line_formatter | |
excluded_404s: | |
- .* | |
console: | |
type: console | |
bubble: false | |
verbosity_levels: | |
VERBOSITY_VERBOSE: INFO | |
VERBOSITY_VERY_VERBOSE: DEBUG | |
console_very_verbose: | |
type: console | |
bubble: false | |
verbosity_levels: | |
VERBOSITY_VERBOSE: NOTICE | |
VERBOSITY_VERY_VERBOSE: NOTICE | |
VERBOSITY_DEBUG: DEBUG | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
monolog: | |
handlers: | |
app: | |
type: stream | |
level: debug | |
channels: ["!event", "!request", "!security"] | |
excluded_404s: | |
- .* | |
handler: awslogs | |
main: | |
type: stream | |
level: debug | |
formatter: app.line_formatter | |
excluded_404s: | |
- .* | |
handler: awslogs | |
awslogs: | |
type: service | |
id: cloudwatch_handler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cloudwatch_client: | |
class: Aws\CloudWatchLogs\CloudWatchLogsClient | |
arguments: | |
- | |
credentials: false | |
region: "eu-west-1" | |
version: "2014-03-28" | |
cloudwatch_handler: | |
class: Maxbanton\Cwh\Handler\CloudWatch | |
arguments: | |
- "@cloudwatch_client" | |
- "symfony" # groupName | |
- "%kernel.environment%" # streamName | |
- 15 # retentionDays | |
- 10000 # logsInBatch | |
- { mytag: "tag" } # tags | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment