##// END OF EJS Templates
fix: fixed a bug in test clone url that used a non-credentials based url causing a password prompt
fix: fixed a bug in test clone url that used a non-credentials based url causing a password prompt

File last commit:

r1021:a797b226 default
r1262:8c6daeda default
Show More
logging.ini
53 lines | 1.1 KiB | text/x-ini | IniLexer
core: re-implemented the way how configuration can be made...
r1021 ; #####################
; LOGGING CONFIGURATION
; #####################
; Logging template, used for configure the logging
; some variables here are replaced by RhodeCode to default values
[loggers]
keys = root, vcsserver
[handlers]
keys = console
[formatters]
keys = generic, json
; #######
; LOGGERS
; #######
[logger_root]
level = NOTSET
handlers = console
[logger_vcsserver]
level = $RC_LOGGING_LEVEL
handlers =
qualname = vcsserver
propagate = 1
; ########
; HANDLERS
; ########
[handler_console]
class = StreamHandler
args = (sys.stderr, )
level = $RC_LOGGING_LEVEL
; To enable JSON formatted logs replace generic with json
; This allows sending properly formatted logs to grafana loki or elasticsearch
#formatter = json
#formatter = generic
formatter = $RC_LOGGING_FORMATTER
; ##########
; FORMATTERS
; ##########
[formatter_generic]
format = %(asctime)s.%(msecs)03d [%(process)d] %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %Y-%m-%d %H:%M:%S
[formatter_json]
format = %(timestamp)s %(levelname)s %(name)s %(message)s %(req_id)s
class = vcsserver.lib._vendor.jsonlogger.JsonFormatter