Add loggers to CLI programs