Adding logging to the application.