logname implementation
Merge pull request #110 from humboldtux/master

logname implementation