??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó ņõ)gc@sīddlmZddlZddlZddlZddlZddlZddlmZddlm Z ej dƒZ d„Z e d„Ze d „Ze d „Ze d „Zdd „Zd „Zd„Zd„Zde d„ZdS(i’’’’(tprint_functionNi(tconfig(t constantstkcarecCs!t|tjƒtj|ƒdS(N(t _printlvlRt PRINT_DEBUGtkcarelogtdebug(tmessage((s//usr/libexec/kcare/python/kcarectl/log_utils.pytlogdebugscCs*|rt|tjƒntj|ƒdS(N(RRt PRINT_INFORtinfo(Rt print_msg((s//usr/libexec/kcare/python/kcarectl/log_utils.pytloginfoscCs3|r"t|tjdtjƒntj|ƒdS(Ntfile(RRt PRINT_WARNtsyststderrRtwarning(RR ((s//usr/libexec/kcare/python/kcarectl/log_utils.pytlogwarn!scCs3|r"t|tjdtjƒntj|ƒdS(NR(RRt PRINT_ERRORRRRterror(RR ((s//usr/libexec/kcare/python/kcarectl/log_utils.pytlogerror'scCs6|r%tjtjkr%tjƒntj|ƒdS(N(RRRt PRINT_LEVELt tracebackt print_excRt exception(RR ((s//usr/libexec/kcare/python/kcarectl/log_utils.pytlogexc-s cCs&|tjkr"t|d|ƒndS(NR(RRtprint(RtlevelR((s//usr/libexec/kcare/python/kcarectl/log_utils.pyR3scCsTtjdƒ}tjjdddtjjjƒ}|jtjƒ|j|ƒ|S(Ns kcare %(levelname)s: %(message)staddresss/dev/logtfacility(tloggingt Formatterthandlerst SysLogHandlertLOG_USERtsetLeveltINFOt setFormatter(tsyslog_formattertsyslog_handler((s//usr/libexec/kcare/python/kcarectl/log_utils.pytget_syslog_handler8s $ cCsštjdƒ}tjƒdkrltjjtjddddƒ}|jt |tj ƒƒ|j |ƒ|Stj ƒ}|j|ƒ|j |ƒ|SdS(Ns&%(asctime)s %(levelname)s: %(message)sitmaxBytesiit backupCounti( R R!tostgetuidR"tRotatingFileHandlerRtLOG_FILER%tminR&R't StreamHandler(Rtkcare_formattert kcare_handler((s//usr/libexec/kcare/python/kcarectl/log_utils.pytget_kcare_handler@s     cCs gtj(yt|ƒ}tj|ƒWn tk rI}tj|ƒnXtjjdƒrœyt ƒ}tj|ƒWqœtk r˜}tj|ƒqœXndS(Ns/dev/log( RR"R5t addHandlert ExceptionRR-tpathtexistsR*(RR4texR)((s//usr/libexec/kcare/python/kcarectl/log_utils.pytinitialize_loggingQs   cCs/|p d}tdj|t|ƒƒ|ƒdS(Nss8Unable to fetch {0}. Please try again later (error: {1})(Rtformattstr(R:turltstdout((s//usr/libexec/kcare/python/kcarectl/log_utils.pytprint_cln_http_errorbs (t __future__RR tlogging.handlersR-RRtRRt getLoggerRR tTrueR RRRtNoneRR*R5R;R@(((s//usr/libexec/kcare/python/kcarectl/log_utils.pyts$