Fixed buildLogs

@bparees FYI
@ironcladlou thanks, there is one left kubeclient I will fix then