Moved log_ctx out of utils into their own files