Fix log action order in generaloption

better log? also, shouldn't you also check whether `_logaction_taken` is set already, and not set the log level *again* in that case? or at least log that the log level that was set before is being overwritten?