orders.log logging config
This commit is contained in:
@@ -24,3 +24,26 @@ datefmt='%Y-%m-%d %H:%M:%S'
|
|||||||
format='%(levelname)s %(name)s %(message)s'
|
format='%(levelname)s %(name)s %(message)s'
|
||||||
# https://docs.python.org/3/library/time.html#time.strftime
|
# https://docs.python.org/3/library/time.html#time.strftime
|
||||||
datefmt='%Y-%m-%d %H:%M:%S'
|
datefmt='%Y-%m-%d %H:%M:%S'
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Uncomment this block to enable an orders.log file that records only dexorder.order logs
|
||||||
|
#
|
||||||
|
|
||||||
|
#[loggers.'dexorder.order']
|
||||||
|
#level='DEBUG'
|
||||||
|
#handlers=['ordersfile',]
|
||||||
|
#propagate=true
|
||||||
|
#
|
||||||
|
#[handlers.ordersfile]
|
||||||
|
#class='logging.FileHandler'
|
||||||
|
#formatter='default'
|
||||||
|
#filename='orders.log'
|
||||||
|
#encoding='utf8'
|
||||||
|
#mode='w'
|
||||||
|
#
|
||||||
|
#[formatters.orderlog]
|
||||||
|
## https://docs.python.org/3/library/logging.html#logrecord-attributes
|
||||||
|
#format='%(asctime)s %(levelname)s %(message)s'
|
||||||
|
## https://docs.python.org/3/library/time.html#time.strftime
|
||||||
|
#datefmt='%Y-%m-%d %H:%M:%S'
|
||||||
|
|||||||
Reference in New Issue
Block a user