logger define fixes