Logging of emergency