Configures logging at front and backend.