Fixes #5598: make logger_rudder cross platform

Shouldn't we keep this class condition here ?