codemonkeylabs created page: Controlling Logging authored by Erick Gonzalez's avatar Erick Gonzalez
Some logging Hofund commands:
- `config logging enable component:LEVEL`
- `config logging disable component:LEVEL`
- `config logging reset`
Components are hierarchical logger names in the style of Python logging. So for example, `Queues:INFO` refers to messages from the _Queues_ component of level _INFO_ or higher. You can specify more granular
logger levels by using for example `Routing.Outgoing:DEBUG` instead of the more general `Routing:DEBUG`
A note on `DEBUG` logs. By default these are disabled due to performance considerations. In order to actually get DEBUG level logs you need to compile the image with the Cabal `debug` flag turned on, so:
```
stack build --flag heimdoll:debug
```