Logs in Canton nodes (Domain)
App Development2 posts272 views1 likesLast activity Oct 2022
DE
DerekOP
Oct 2022Hello Community,
Is there a way to obtain additional logs? Some code in a configuration file? I would like to know how to obtain more logs because my remote Domain logs are not very complete.
Thank you
RE
Remy
Oct 2022Hello Derek,
You could use the canton command line to increase verbosity of logging.
Logging Options:
-v, --verbose Canton logger level -> DEBUG
--debug Console/stdout level -> INFO, root logger -> DEBUG
--log-truncate Truncate log file on startup.
--log-level-root <LEVEL>
Log-level of the root logger
--log-level-canton <LEVEL>
Log-level of the Canton logger
--log-level-stdout <LEVEL>
Log-level of stdout
The possible values for LEVEL can be found in log4j documentation.
Cheers