Print log path to STDERR if debug

also print other debug messages to sterr
so that they go to the log file instead of the tty.