set up production logging, fixed couple of details