Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
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
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
a32f3373
Commit
a32f3373
authored
10 years ago
by
John Jarvis
Browse files
Options
Downloads
Patches
Plain Diff
renmaing prod.py and setting more defaults
parent
73c9b4c9
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cms/envs/common.py
+2
-0
2 additions, 0 deletions
cms/envs/common.py
cms/envs/yaml-config.py
+1
-0
1 addition, 0 deletions
cms/envs/yaml-config.py
lms/envs/common.py
+2
-0
2 additions, 0 deletions
lms/envs/common.py
lms/envs/yaml-config.py
+2
-4
2 additions, 4 deletions
lms/envs/yaml-config.py
with
7 additions
and
4 deletions
cms/envs/common.py
+
2
−
0
View file @
a32f3373
...
...
@@ -769,3 +769,5 @@ CAS_ATTRIBUTE_CALLBACK = None
MICROSITE_ROOT_DIR
=
''
SEGMENT_IO
=
False
DATADOG
=
{}
ADDL_INSTALLED_APPS
=
[]
LOCAL_LOGLEVEL
=
'
INFO
'
This diff is collapsed.
Click to expand it.
cms/envs/
prod
.py
→
cms/envs/
yaml-config
.py
+
1
−
0
View file @
a32f3373
...
...
@@ -196,6 +196,7 @@ for app in ADDL_INSTALLED_APPS:
LOGGING
=
get_logger_config
(
LOG_DIR
,
local_loglevel
=
LOCAL_LOGLEVEL
,
logging_env
=
LOGGING_ENV
,
debug
=
False
,
service_variant
=
SERVICE_VARIANT
)
...
...
This diff is collapsed.
Click to expand it.
lms/envs/common.py
+
2
−
0
View file @
a32f3373
...
...
@@ -1921,3 +1921,5 @@ SEGMENT_IO_LMS = False
MONGODB_LOG
=
{}
SESSION_INACTIVITY_TIMEOUT_IN_SECONDS
=
None
ADDL_INSTALLED_APPS
=
[]
LOCAL_LOGLEVEL
=
'
INFO
'
This diff is collapsed.
Click to expand it.
lms/envs/
prod
.py
→
lms/envs/
yaml-config
.py
+
2
−
4
View file @
a32f3373
...
...
@@ -207,14 +207,12 @@ BULK_EMAIL_ROUTING_KEY = HIGH_PRIORITY_QUEUE
LANGUAGE_DICT
=
dict
(
LANGUAGES
)
# Additional installed apps
for
app
in
ENV_TOKENS
.
get
(
'
ADDL_INSTALLED_APPS
'
,
[])
:
for
app
in
ADDL_INSTALLED_APPS
:
INSTALLED_APPS
+=
(
app
,)
local_loglevel
=
ENV_TOKENS
.
get
(
'
LOCAL_LOGLEVEL
'
,
'
INFO
'
)
LOGGING
=
get_logger_config
(
LOG_DIR
,
logging_env
=
LOGGING_ENV
,
local_loglevel
=
local_loglevel
,
local_loglevel
=
LOCAL_LOGLEVEL
,
debug
=
False
,
service_variant
=
SERVICE_VARIANT
)
...
...
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