Correcting log use for commonobject.class.php

Correcting dol_syslog use which had 3 parameters instead of 2.
Merge pull request #1611 from guerinaxel/patch-3

Correcting log use for commonobject.class.php