log2sql.py #16