EventLog fixes

Fixed maximum message size to EventLog.
Defined an event ID to each message type.