adding progname to logging calls