Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mark-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cylab
mark-web
Commits
c96d74cf
Commit
c96d74cf
authored
3 years ago
by
a.croix
Browse files
Options
Downloads
Patches
Plain Diff
Change default log channel
parent
875b3605
No related branches found
No related tags found
1 merge request
!1
Include Wowa Training
Pipeline
#5784
passed
3 years ago
Stage: test
Stage: build
Stage: deploy
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
app/Jobs/WowaJob.php
+1
-0
1 addition, 0 deletions
app/Jobs/WowaJob.php
app/Logging/LogFormatter.php
+2
-0
2 additions, 0 deletions
app/Logging/LogFormatter.php
config/logging.php
+1
-1
1 addition, 1 deletion
config/logging.php
env.docker
+1
-1
1 addition, 1 deletion
env.docker
with
5 additions
and
2 deletions
app/Jobs/WowaJob.php
+
1
−
0
View file @
c96d74cf
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
namespace
App\Jobs
;
namespace
App\Jobs
;
use
App\Feedback
;
use
App\Feedback
;
use
App\Log
;
use
App\Mark
;
use
App\Mark
;
use
App\Wowa
;
use
App\Wowa
;
use
Illuminate\Bus\Queueable
;
use
Illuminate\Bus\Queueable
;
...
...
This diff is collapsed.
Click to expand it.
app/Logging/LogFormatter.php
+
2
−
0
View file @
c96d74cf
...
@@ -23,5 +23,7 @@ class LogFormatter extends NormalizerFormatter
...
@@ -23,5 +23,7 @@ class LogFormatter extends NormalizerFormatter
$el
=
$record
[
'extra'
];
$el
=
$record
[
'extra'
];
$el
[
'level'
]
=
strtolower
(
$record
[
'level_name'
]);
$el
[
'level'
]
=
strtolower
(
$record
[
'level_name'
]);
$el
[
'message'
]
=
$record
[
'message'
];
$el
[
'message'
]
=
$record
[
'message'
];
return
$el
;
}
}
}
}
This diff is collapsed.
Click to expand it.
config/logging.php
+
1
−
1
View file @
c96d74cf
...
@@ -42,7 +42,7 @@ return [
...
@@ -42,7 +42,7 @@ return [
],
],
'training_logger'
=>
[
'training_logger'
=>
[
'driver'
=>
'custom'
,
'driver'
=>
'custom'
,
'via'
=>
App\
Job
Log
::
class
,
'via'
=>
App\Log
::
class
,
],
],
'single'
=>
[
'single'
=>
[
...
...
This diff is collapsed.
Click to expand it.
env.docker
+
1
−
1
View file @
c96d74cf
...
@@ -4,7 +4,7 @@ APP_KEY=base64:42cUpwYMEYjS3fifEDm2RN2kjmNtnPHm1tZPMblKGIw=
...
@@ -4,7 +4,7 @@ APP_KEY=base64:42cUpwYMEYjS3fifEDm2RN2kjmNtnPHm1tZPMblKGIw=
APP_DEBUG=true
APP_DEBUG=true
APP_URL=http://localhost:8000
APP_URL=http://localhost:8000
LOG_CHANNEL=
stack
LOG_CHANNEL=
custom
DB_CONNECTION=sqlite
DB_CONNECTION=sqlite
...
...
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