Fix log action order in generaloption

`getLogLevelNames`

and shouldn't this return a `dict` rather than a list of tuples btw?