Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
monitoring
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
Container Registry
Model registry
Operate
Environments
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
monitoring
Commits
164de741
"public/fonts/git@gitlab.cylab.be:cylab/mark-web.git" did not exist on "cdcff12f4a42669bbfa0f7e5b4217711b114fb2b"
Commit
164de741
authored
1 year ago
by
Tibo
Browse files
Options
Downloads
Patches
Plain Diff
add missing config/logging
parent
6b83e299
No related branches found
No related tags found
No related merge requests found
Pipeline
#12791
failed
1 year ago
Stage: test
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/app.php
+0
-19
0 additions, 19 deletions
config/app.php
config/logging.php
+81
-0
81 additions, 0 deletions
config/logging.php
with
81 additions
and
19 deletions
config/app.php
+
0
−
19
View file @
164de741
...
@@ -17,8 +17,6 @@ return [
...
@@ -17,8 +17,6 @@ return [
'allow_registration'
=>
env
(
"APP_ALLOW_REGISTRATION"
,
true
),
'allow_registration'
=>
env
(
"APP_ALLOW_REGISTRATION"
,
true
),
'proxy'
=>
env
(
'PROXY'
,
null
),
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Application Environment
| Application Environment
...
@@ -112,23 +110,6 @@ return [
...
@@ -112,23 +110,6 @@ return [
'cipher'
=>
'AES-256-CBC'
,
'cipher'
=>
'AES-256-CBC'
,
/*
|--------------------------------------------------------------------------
| Logging Configuration
|--------------------------------------------------------------------------
|
| Here you may configure the log settings for your application. Out of
| the box, Laravel uses the Monolog PHP logging library. This gives
| you a variety of powerful log handlers / formatters to utilize.
|
| Available Settings: "single", "daily", "syslog", "errorlog"
|
*/
'log'
=>
env
(
'APP_LOG'
,
'single'
),
'log_level'
=>
env
(
'APP_LOG_LEVEL'
,
'debug'
),
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Autoloaded Service Providers
| Autoloaded Service Providers
...
...
This diff is collapsed.
Click to expand it.
config/logging.php
0 → 100644
+
81
−
0
View file @
164de741
<?php
use
Monolog\Handler\StreamHandler
;
return
[
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------------------------------------------------
|
| This option defines the default log channel that gets used when writing
| messages to the logs. The name specified in this option should match
| one of the channels defined in the "channels" configuration array.
|
*/
'default'
=>
env
(
'LOG_CHANNEL'
,
'stack'
),
/*
|--------------------------------------------------------------------------
| Log Channels
|--------------------------------------------------------------------------
|
| Here you may configure the log channels for your application. Out of
| the box, Laravel uses the Monolog PHP logging library. This gives
| you a variety of powerful log handlers / formatters to utilize.
|
| Available Drivers: "single", "daily", "slack", "syslog",
| "errorlog", "monolog",
| "custom", "stack"
|
*/
'channels'
=>
[
'stack'
=>
[
'driver'
=>
'stack'
,
'channels'
=>
[
'single'
],
],
'single'
=>
[
'driver'
=>
'single'
,
'path'
=>
storage_path
(
'logs/laravel.log'
),
'level'
=>
'debug'
,
],
'daily'
=>
[
'driver'
=>
'daily'
,
'path'
=>
storage_path
(
'logs/laravel.log'
),
'level'
=>
'debug'
,
'days'
=>
7
,
],
'slack'
=>
[
'driver'
=>
'slack'
,
'url'
=>
env
(
'LOG_SLACK_WEBHOOK_URL'
),
'username'
=>
'Laravel Log'
,
'emoji'
=>
':boom:'
,
'level'
=>
'critical'
,
],
'stderr'
=>
[
'driver'
=>
'monolog'
,
'handler'
=>
StreamHandler
::
class
,
'with'
=>
[
'stream'
=>
'php://stderr'
,
],
],
'syslog'
=>
[
'driver'
=>
'syslog'
,
'level'
=>
'debug'
,
],
'errorlog'
=>
[
'driver'
=>
'errorlog'
,
'level'
=>
'debug'
,
],
],
];
\ No newline at end of file
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