Added log and custom duration filter