From 98651a572dd41059f5b2f4899b76a0497f681bbb Mon Sep 17 00:00:00 2001 From: tim Date: Sat, 5 Oct 2024 19:42:06 -0400 Subject: [PATCH] arb1 backend deploy config --- conf/arb1/dexorder-arb1.toml | 3 +++ conf/arb1/logging-arb1.toml | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 conf/arb1/dexorder-arb1.toml create mode 100644 conf/arb1/logging-arb1.toml diff --git a/conf/arb1/dexorder-arb1.toml b/conf/arb1/dexorder-arb1.toml new file mode 100644 index 0000000..8a0fca9 --- /dev/null +++ b/conf/arb1/dexorder-arb1.toml @@ -0,0 +1,3 @@ +account = '${accounts.gas}' +rpc_url = '${rpc_urls.arbsep_alchemy}' +ws_url = '${rpc_urls.arbsep_alchemy_ws}' diff --git a/conf/arb1/logging-arb1.toml b/conf/arb1/logging-arb1.toml new file mode 100644 index 0000000..fb3e7f4 --- /dev/null +++ b/conf/arb1/logging-arb1.toml @@ -0,0 +1,26 @@ +# https://docs.python.org/3/library/logging.config.html#logging-config-dictschema +version=1 + +[loggers.''] +level='INFO' +handlers=['console',] + +[loggers.dexorder] +level='DEBUG' + +[handlers.console] +class='logging.StreamHandler' +formatter='default' +stream='ext://sys.stdout' + +[formatters.default] +# https://docs.python.org/3/library/logging.html#logrecord-attributes +format='%(asctime)s %(levelname)s %(name)s %(message)s' +# https://docs.python.org/3/library/time.html#time.strftime +datefmt='%Y-%m-%d %H:%M:%S' + +[formatters.notime] +# https://docs.python.org/3/library/logging.html#logrecord-attributes +format='%(levelname)s %(name)s %(message)s' +# https://docs.python.org/3/library/time.html#time.strftime +datefmt='%Y-%m-%d %H:%M:%S'