Logfile naming bugfix, private keys