mò "á¸Ec@s`dZd„Zd„ZydkZd„ZWn"eefj od„ZnXd„ZdS(s; A set of utility routines used by asyncore initialization cCsdk}|iiƒS(N(tApp.version_txttAppt version_txt(R((t,/data/zmath/zope/lib/python/ZServer/utils.pytgetZopeVersions csAdkl}|dƒ‰d‡d†}dk}||i_dS(N(s getLoggertZServertinfocsW|d djp|d djp |djoˆi|ƒntˆ|ƒ|ƒdS(Nisadding channelisclosing channelsComputing default hostname(tmessagetLOGtdebugtgetattrttype(tselfRR (R(Rtlog_infos/(tloggingt getLoggerRR tasyncoret dispatcher(RRRR ((RRtpatchAsyncoreLoggers    NcCs1y#ti|iƒtitiƒWnnXdS(N(tfcntltsocktfilenotF_SETFDt FD_CLOEXEC(R((RtrequestCloseOnExec-s#cCsdS(N((R((RR5scCsdkl}d|i_dS(N(sloggerR(tmedusatloggert syslog_loggertsvc_name(R((RtpatchSyslogServiceName8s (t__doc__RRRRt ImportErrortAttributeErrorR(RRRRR((Rt?s