Logging and stability fix for courseed.