add bootstrap argument to main
make parsing of the cli optional
fix typo
minor
pformat log record if it has no log_text