log interceptor and add header