log2sql.rb #12