Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Putting flag before command results in lastStart.txt not being produced #13994

Closed
spowelljr opened this issue Apr 20, 2022 · 0 comments · Fixed by #13995
Closed

Putting flag before command results in lastStart.txt not being produced #13994

spowelljr opened this issue Apr 20, 2022 · 0 comments · Fixed by #13995
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@spowelljr
Copy link
Member

Example:

$ minikube --alsologtostderr start
...
$ cat ~/.minikube/logs/lastStart.txt
cat: /Users/powellsteven/.minikube/logs/lastStart.txt: No such file or directory
$ minikube start --alsologtostderr
...
$ cat ~/.minikube/logs/lastStart.txt
Log file created at: 2022/04/20 13:26:28
Running on machine: powellsteven-macbookpro
Binary: Built with gc go1.18.1 for darwin/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0420 13:26:28.981732   36545 out.go:296] Setting OutFile to fd 1 ...
I0420 13:26:28.981962   36545 out.go:348] isatty.IsTerminal(1) = true
I0420 13:26:28.981966   36545 out.go:309] Setting ErrFile to fd 2...
I0420 13:26:28.981972   36545 out.go:348] isatty.IsTerminal(2) = true

I've tested with other flags, for example --user and same issue

@spowelljr spowelljr added kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Apr 20, 2022
@spowelljr spowelljr self-assigned this Apr 20, 2022
@spowelljr spowelljr added this to the 1.26.0 milestone Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant