Use MDC for query and parameters