Command-line reference
If you have not installed DipDup yet refer to 4.1. Installation page.

Specifying the path to config

By default, DipDup looks for a file named dipdup.yml in the current working directory. You can override that by explicitly specifying a path to config (one or many):
1
dipdup -c configs/dipdup.yml -c configs/dipdup.prod.yml COMMAND
Copied!
See Merging config files for details.

Advanced Python logging

WARNING
This feature will be deprecated soon. Consider configuring logging inside of on_restart hook.
You may want to tune logging to get notifications on errors or enable debug messages. Specify the path to a Python logging config in YAML format using -l argument.
Default config to start with:
1
version: 1
2
disable_existing_loggers: false
3
formatters:
4
brief:
5
format: "%(levelname)-8s %(name)-35s %(message)s"
6
handlers:
7
console:
8
level: INFO
9
formatter: brief
10
class: logging.StreamHandler
11
stream : ext://sys.stdout
12
loggers:
13
SignalRCoreClient:
14
formatter: brief
15
dipdup.datasources.tzkt.datasource:
16
level: INFO
17
dipdup.datasources.tzkt.cache:
18
level: INFO
19
root:
20
level: INFO
21
handlers:
22
- console
Copied!