Move logging into one common place for both dependencies and run section, don't log messages previously logged by log_X commands