def _msgLog(user, msg):
    conn = sqlite3.connect(APP_DB)
    cursor = conn.cursor()
    values = (user, msg)
    cursor.execute('INSERT INTO MsgLog VALUES (?,?)', values)
    conn.commit()
    conn.close()
def _msgLog(user, msg):
    conn = sqlite3.connect(APP_DB)
    cursor = conn.cursor()
    values = (user, msg)
    cursor.execute('INSERT INTO MsgLog VALUES (?,?)', values)
    conn.commit()
    conn.close()