Update example for logger
Fix handling of WORK_WARNING and WORK_DATA
Cleanup examples