Example #1
0
 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", ))
Example #2
0
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
Example #3
0
 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", ))