switching to logging strategy that doesn't rely on stdout