log before after filters