Correcting log use for commonobject.class.php

Correcting dol_syslog use which had 3 parameters instead of 2.