set up logging for server