put logging init at beginning of preamble instead of in run()