Better logging

-v log to standard output, otherwise to log file only