more logging work for stack-collector-agent