add authentication

This commit is contained in:
Marko
2023-11-02 14:39:37 +01:00
parent e8a531b407
commit ae7c9df246
4 changed files with 82 additions and 8 deletions

View File

@@ -41,10 +41,14 @@ when@prod:
monolog:
handlers:
main:
type: fingers_crossed
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
channels: [ "!event" ]
#type: fingers_crossed
action_level: error
handler: nested
excluded_http_codes: [404, 405]
#excluded_http_codes: [404, 405]
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested:
type: stream
@@ -58,4 +62,4 @@ when@prod:
deprecation:
type: stream
channels: [deprecation]
path: php://stderr
path: php://stderr