add file logging to server