add log messages to context-api