fix logname