def send2log(message, log_file):
    date = syscall("TZ='America/New_York' date")
    os.system(('echo >> ' + log_file))
    if (0 != os.system(((((("echo '" + date) + ' ') + message) + "' >>") + log_file))):
        sys.exit(777)
def send2log(message, log_file):
    date = syscall("TZ='America/New_York' date")
    os.system(('echo >> ' + log_file))
    if (0 != os.system(((((("echo '" + date) + ' ') + message) + "' >>") + log_file))):
        sys.exit(777)