Added support for setting wheether to log on item level