fn configure_logging(mailbox_mode: bool)
Configures logging for the application.
If running in mailbox mode, it sets a more verbose logging level.