Added custom_key to logs.