printing name in log