changed logging for main server