add support for multiple context_to_log