[MODIF] Improved logging system