Fix log action order in generaloption

if you only want to see warnings, it means you want the logger to be quiet.