added type filtering to logs