modifying error log