Leave it to the application to start Logger after compilation

Closes #2649