log_to_tsv

Converts a file from MG transaction log format to one or more .tsv files.

Required options

NameTypeDescriptionDefault
fromStringPath to the log file to read in
toStringPath to the file or directory into which the .tsv file(s) should be written. If the path ends with a / then it is assumed to be a directory and a .tsv file will be written for each table found in the log. Otherwise, a single file will be written containing all tables.

All options

NameTypeDescriptionDefault
service_nameStringThe name of this service - used for logging.
fromStringPath to the log file to read in
toStringPath to the file or directory into which the .tsv file(s) should be written. If the path ends with a / then it is assumed to be a directory and a .tsv file will be written for each table found in the log. Otherwise, a single file will be written containing all tables.
quietInteger (unsigned)Don't print informational messages to stdout