Fix log action order in generaloption

the classes are not derived from `object`