Improved logging adapter speed.

Also renamed the arguments passed by `_forward` in the CLI to not
conflict with built-in names.