Added severity enumeration. Fixed log entry