Added code to start with log file stuff, for server.