application: add debug mode that switches logging to debug.
It's no longer required to reconfigure all logging. debug flag now does it automatically.
This commit is contained in:
parent
389e95092c
commit
2e8001e5fa
5 changed files with 177 additions and 39 deletions
|
|
@ -1,10 +1,11 @@
|
|||
|
||||
|
||||
################################################################################
|
||||
## RHODECODE COMMUNITY EDITION CONFIGURATION ##
|
||||
## RHODECODE COMMUNITY EDITION CONFIGURATION ##
|
||||
################################################################################
|
||||
|
||||
[DEFAULT]
|
||||
## Debug flag sets all loggers to debug, and enables request tracking
|
||||
debug = true
|
||||
|
||||
################################################################################
|
||||
|
|
@ -414,6 +415,7 @@ search.location = %(here)s/data/index
|
|||
########################################
|
||||
## channelstream enables persistent connections and live notification
|
||||
## in the system. It's also used by the chat system
|
||||
|
||||
channelstream.enabled = false
|
||||
|
||||
## server address for channelstream server on the backend
|
||||
|
|
@ -490,14 +492,6 @@ appenlight.request_keys_blacklist =
|
|||
## (by default the client ignores own entries: appenlight_client.client)
|
||||
appenlight.log_namespace_blacklist =
|
||||
|
||||
|
||||
################################################################################
|
||||
## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
|
||||
## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
|
||||
## execute malicious code after an exception is raised. ##
|
||||
################################################################################
|
||||
#set debug = false
|
||||
|
||||
# enable debug style page
|
||||
debug_style = true
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
|
||||
|
||||
################################################################################
|
||||
## RHODECODE COMMUNITY EDITION CONFIGURATION ##
|
||||
## RHODECODE COMMUNITY EDITION CONFIGURATION ##
|
||||
################################################################################
|
||||
|
||||
[DEFAULT]
|
||||
debug = true
|
||||
## Debug flag sets all loggers to debug, and enables request tracking
|
||||
debug = false
|
||||
|
||||
################################################################################
|
||||
## EMAIL CONFIGURATION ##
|
||||
|
|
@ -389,6 +390,7 @@ search.location = %(here)s/data/index
|
|||
########################################
|
||||
## channelstream enables persistent connections and live notification
|
||||
## in the system. It's also used by the chat system
|
||||
|
||||
channelstream.enabled = false
|
||||
|
||||
## server address for channelstream server on the backend
|
||||
|
|
@ -466,14 +468,6 @@ appenlight.request_keys_blacklist =
|
|||
appenlight.log_namespace_blacklist =
|
||||
|
||||
|
||||
################################################################################
|
||||
## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
|
||||
## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
|
||||
## execute malicious code after an exception is raised. ##
|
||||
################################################################################
|
||||
set debug = false
|
||||
|
||||
|
||||
###########################################
|
||||
### MAIN RHODECODE DATABASE CONFIG ###
|
||||
###########################################
|
||||
|
|
@ -524,6 +518,7 @@ vcs.scm_app_implementation = http
|
|||
## Push/Pull operations hooks protocol, available options are:
|
||||
## `http` - use http-rpc backend (default)
|
||||
vcs.hooks.protocol = http
|
||||
|
||||
## Host on which this instance is listening for hooks. If vcsserver is in other location
|
||||
## this should be adjusted.
|
||||
vcs.hooks.host = 127.0.0.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue