mirror of
https://github.com/dkmstr/openuds.git
synced 2025-08-29 01:50:00 +03:00
Merge remote-tracking branch 'origin/v3.6'
This commit is contained in:
@ -61,3 +61,10 @@ except Exception:
|
||||
logging.basicConfig(format='%(levelname)s %(asctime)s %(message)s', level=LOGLEVEL)
|
||||
|
||||
logger = logging.getLogger('udsclient')
|
||||
|
||||
# If debug mode, log environment variables
|
||||
if DEBUG:
|
||||
logger.debug('Log level set to DEBUG')
|
||||
logger.debug('Environment variables:')
|
||||
for k, v in os.environ.items():
|
||||
logger.debug(' %s=%s', k, v)
|
||||
|
Reference in New Issue
Block a user