Added logs to context