ASDK-167

Refactored CollectLogTask to a standalone class.