update to patched version which adds additional logs

This commit is contained in:
Stephen Smoogen 2014-12-05 21:08:20 +00:00
parent de8aa400cd
commit d4329c3c80

View file

@ -662,7 +662,9 @@ def do_mirrorlist(kwargs):
ip_str = kwargs['IP'].strNormal() ip_str = kwargs['IP'].strNormal()
except: except:
ip_str = 'Unknown IP' ip_str = 'Unknown IP'
log_string = "mirrorlist: %s found its best mirror from %s" % (ip_str, where_string)
pid = str(os.getpid())
log_string = "mirrorlist(%s): %s found its best mirror from %s (%s)" % (pid, ip_str, where_string, header)
syslogger.info(log_string) syslogger.info(log_string)
hosts_and_urls = append_path(allhosts, cache, file, pathIsDirectory=pathIsDirectory) hosts_and_urls = append_path(allhosts, cache, file, pathIsDirectory=pathIsDirectory)