Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-notes-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-notes-api
Commits
caf5719a
Commit
caf5719a
authored
Mar 11, 2016
by
Muzaffar yousaf
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #45 from edx/mzfr/logger
setting logging level to warning for ES.trace
parents
e3547044
0d8df82a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
notesserver/settings/logger.py
+1
-2
No files found.
notesserver/settings/logger.py
View file @
caf5719a
...
@@ -24,7 +24,6 @@ def get_logger_config(log_dir='/var/tmp',
...
@@ -24,7 +24,6 @@ def get_logger_config(log_dir='/var/tmp',
"edx_filename" is ignored unless dev_env is set to true since otherwise
"edx_filename" is ignored unless dev_env is set to true since otherwise
logging is handled by rsyslogd.
logging is handled by rsyslogd.
"""
"""
# Revert to INFO if an invalid string is passed in
# Revert to INFO if an invalid string is passed in
if
local_loglevel
not
in
[
'DEBUG'
,
'INFO'
,
'WARNING'
,
'ERROR'
,
'CRITICAL'
]:
if
local_loglevel
not
in
[
'DEBUG'
,
'INFO'
,
'WARNING'
,
'ERROR'
,
'CRITICAL'
]:
local_loglevel
=
'INFO'
local_loglevel
=
'INFO'
...
@@ -69,7 +68,7 @@ def get_logger_config(log_dir='/var/tmp',
...
@@ -69,7 +68,7 @@ def get_logger_config(log_dir='/var/tmp',
},
},
"elasticsearch.trace"
:
{
"elasticsearch.trace"
:
{
'handlers'
:
handlers
,
'handlers'
:
handlers
,
'level'
:
'
DEBU
G'
,
'level'
:
'
WARNIN
G'
,
'propagate'
:
False
,
'propagate'
:
False
,
},
},
''
:
{
''
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment