Logging setup should happen even earlier!
Pretty basic diagram of the system architecture.