logcollect: solve dependencies