build/common: allow to not have logs