fix logging when --logger is used, regression from #636

#636 fixed one thing but broken another, I'm not sure if we should check for the absence of --logto2, or for presence of --logger. There are so many combinations, what if someone uses --logfile with --logto2 and --logger? Or --logto2 with --logger? What is the order of importance here?