Add support for error log context