in function getLogFileName{}
code line proc := path.Base(os.Args[0]) will not work in windows
for path.Base(...) only check last '/' in the path string. but in windows file path is seperated by '\' almost
the better way is to use filepath.Base(...) instead of path.Base(...)
// proc := path.Base(os.Args[0])
proc := filepath.Base(os.Args[0])