straightened up logging

now using a global log. may want to split this into command-specific
logs, but no point in having file-specific logging.  too granular.