Fix log action order in generaloption

add a comment why the environment should be ignored here?