Partial implementation of log interceptor.