Set logging directory correctly when running in a client

Signed-off-by: Ross Allan <rallanpcl@gmail.com>