get rid off passing around loggers

this fixes broken jobsubmission of regtest