respect --{enable,disable}-logfile, fix initialization with no config