some better logging for stack-colector-agent