Implement logging path setting
Log output to logfile