simplified code; removed crappy v6.1 log API method as nobody would use it because it was so crappy (in OpenERP)