NEW: Added log code dictionary