Does klog automatically create new files? #304
Unanswered
MuellerKlaus
asked this question in
Help / Question
Replies: 1 comment 2 replies
-
This isn’t a Windows-specific issue, klog generally doesn’t create any new files. So it’s expected that you’d have to create them manually before being able to use them. It would theoretically be possible to introduce some sort of “create on the fly” mechanism, although this might be unexpected in other ways, because if you’d accidentally misspell a file name, then klog wouldn’t fail anymore. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background:
I cloned klog source with Windows, compiled with go (go version go1.20.1 windows/amd64) and started to test tracking.
Problem:
All tests showed an error about missing file. I expected that 'klog track testtask test.klg' creates a new file if not exists. I see this as default behavior of such tools that a file is used if exists or created if missing
Is this expected that a user need to create new files in advance ('touch test.klog') of use it or is this a Windows issue? I do not find any specific explanation about manual file creation in any documentation.
Beta Was this translation helpful? Give feedback.
All reactions