Fix log action order in generaloption

ask the developers? porbably because code is from around very early python?