Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
concrexit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
thalia
concrexit
Merge requests
!1226
Add FileHandler for django logging
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add FileHandler for django logging
feature/file-logging
into
master
Overview
2
Commits
1
Changes
1
All threads resolved!
Hide all comments
Merged
Ghost User
requested to merge
feature/file-logging
into
master
5 years ago
Overview
2
Commits
1
Changes
1
All threads resolved!
Hide all comments
Expand
Closes
#858 (closed)
Short description
Add FileHandler for django logging
Steps to use this feature
Run in production
Get log files
Edited
5 years ago
by
Ghost User
0
0
Merge request reports
Compare
master
version 2
6f5e5143
5 years ago
version 1
45d3f4cd
5 years ago
master (base)
and
latest version
latest version
60ba5e28
1 commit,
5 years ago
version 2
6f5e5143
1 commit,
5 years ago
version 1
45d3f4cd
1 commit,
5 years ago
1 file
+
6
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
website/thaliawebsite/settings/production.py
+
6
−
1
Options
@@ -143,10 +143,15 @@ LOGGING = {
'
class
'
:
'
logging.StreamHandler
'
,
'
formatter
'
:
'
verbose
'
},
'
logfile
'
:
{
'
level
'
:
'
DEBUG
'
,
'
class
'
:
'
logging.FileHandler
'
,
'
filename
'
:
'
/concrexit/log/django.log
'
,
}
},
'
loggers
'
:
{
'
django
'
:
{
'
handlers
'
:
[
'
console
'
],
'
handlers
'
:
[
'
console
'
,
'
logfile
'
],
'
level
'
:
'
INFO
'
,
},
},
Loading