be compatible with previous metriks logger