Manta Manager CLI¶
The Manta Manager can be deployed using the command below with the appropriate options:
$ manta_manager --help
usage: manta_manager [-h] [--version] [--host HOST] [--port PORT] [--db_host DB_HOST] [--db_port DB_PORT] [--mqtt_host MQTT_HOST] [--mqtt_port MQTT_PORT] [--log_filename LOG_FILENAME] [--secured] [--ca_port CA_PORT] [--debug] [--verbose]
optional arguments:
<...>
Explanation of the options
Flag |
Description |
---|---|
|
Manager gRPC Host (default: localhost) |
|
Manager gRPC Port (default: 50051) |
|
Database Host (default: localhost) |
|
Database Port (default: 27017) |
|
MQTT Broker Host (default: localhost) |
|
MQTT Broker Port (default: 1883) |
|
Log filename (optional) |
|
Use this option to enable secured mode (more details below). |
|
Port for the Certification Authority (required only in secured mode). |
|
Debug mode - All logs are printed and saved into a file. |
|
Increases the verbosity of logs. Use |
Warning
The combination -vvv
with --debug
allows you to print all logs (INFO
, DEBUG
, ERROR
) and also store these logs in an embedded database (file: .manta/traces.db
).
By removing --debug
, you will only store logs in the embedded database even if they are not printed. If you change -vvv
to -v
, only ERROR
will be saved.