fixed log directory so that log files are created correctly on the server