fixed locking up the BBB with no log directory

It got into a tight loop that made it very difficult to fix the problem
if the code ever got started without the logging directory.
1 file changed