Capability to log the last 50 events and alarm information including associated measured values for troubleshooting and analysis