collector: now using c.logError() for error logging. removed all panics()