Init the logger in Main, before everything else.