merged Mode and Logging sections in tutorial