def test_log_arguments(self): log("session_id", "core.error", 1, "test_format='%s'", "test_value") log("session_id", "core.error", 1, "test_format='%s'", ("test_value", )) log("session_id", "core.error", 1, "test_format='%s'" % "test_value") log("session_id", "core.error", 1, "test_format='%s'" % ("test_value", ))
def init(names, virtual_name, is_master): try: log("session_id", "core.error", 1, "test_format='%s'", "test_value") log("session_id", "core.error", 1, "test_format='%s'", ("test_value",)) log("session_id", "core.error", 1, "test_format='%s'" % "test_value") log("session_id", "core.error", 1, "test_format='%s'" % ("test_value",)) except Exception, e: print_exc() quit(1) return 1