Ruby logger fix