Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Base lexicale BaLex
Manage
Activity
Members
Labels
Plan
Issues
17
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lex gaMe
Base lexicale BaLex
Commits
3dc74b15
Commit
3dc74b15
authored
4 months ago
by
pfleu
Browse files
Options
Downloads
Patches
Plain Diff
Config monolog pour env test
parent
b8ed52ee
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/packages/doctrine.yaml
+1
-1
1 addition, 1 deletion
config/packages/doctrine.yaml
config/packages/monolog.yaml
+21
-5
21 additions, 5 deletions
config/packages/monolog.yaml
with
22 additions
and
6 deletions
config/packages/doctrine.yaml
+
1
−
1
View file @
3dc74b15
...
@@ -26,7 +26,7 @@ when@test:
...
@@ -26,7 +26,7 @@ when@test:
doctrine
:
doctrine
:
dbal
:
dbal
:
# "TEST_TOKEN" is typically set by ParaTest
# "TEST_TOKEN" is typically set by ParaTest
dbname_suffix
:
'
_test%env(default::TEST_TOKEN)%'
#
dbname_suffix: '_test%env(default::TEST_TOKEN)%'
when@prod
:
when@prod
:
doctrine
:
doctrine
:
...
...
This diff is collapsed.
Click to expand it.
config/packages/monolog.yaml
+
21
−
5
View file @
3dc74b15
...
@@ -30,13 +30,29 @@ when@test:
...
@@ -30,13 +30,29 @@ when@test:
main
:
main
:
type
:
fingers_crossed
type
:
fingers_crossed
action_level
:
error
action_level
:
error
handler
:
nest
ed
handler
:
group
ed
excluded_http_codes
:
[
404
,
405
]
excluded_http_codes
:
[
404
,
405
]
channels
:
[
"
!event"
]
buffer_size
:
50
# How many messages should be saved? Prevent memory leaks
nested
:
grouped
:
type
:
stream
type
:
group
path
:
"
%kernel.logs_dir%/%kernel.environment%.log"
members
:
[
streamed
,
deduplicated
]
streamed
:
type
:
rotating_file
max_files
:
30
path
:
'
%kernel.logs_dir%/%kernel.environment%.log'
level
:
debug
level
:
debug
deduplicated
:
type
:
deduplication
time
:
10
# the time in seconds during which duplicate entries are discarded (default: 60)
handler
:
symfony_mailer
symfony_mailer
:
type
:
symfony_mailer
from_email
:
'
%env(MONOLOG_ERROR_MAIL_FROM)%'
to_email
:
[
'
fleutotp@gmail.com'
,
'
enzo.simonnet@liris.cnrs.fr'
]
subject
:
'
Bug
Balex
%env(INSTANCE)%
%kernel.environment%
:
%%message%%'
level
:
critical
formatter
:
monolog.formatter.extra_data
content_type
:
text/html
when@prod
:
when@prod
:
monolog
:
monolog
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment