src: added logname.c