Skip to content

Commit

Permalink
Remove log-level debug flag from the daemon command
Browse files Browse the repository at this point in the history
When log-level debug is passed, machine sends its logs to stdout
but running from the daemon those gets discarded, when log level
is not debug machine packages sends the logs to the log file, this
should now put logs in the ~/.crc/crcd.log file
  • Loading branch information
anjannath committed Jun 22, 2020
1 parent 7159191 commit cc6c989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crc/preflight/preflight_checks_tray_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func fixDaemonServiceInstalled() error {
if err != nil {
return fmt.Errorf("Unable to find the current executables location: %v", err)
}
binPathWithArgs := fmt.Sprintf("%s daemon --log-level debug", strings.TrimSpace(binPath))
binPathWithArgs := fmt.Sprintf("%s daemon", strings.TrimSpace(binPath))

// get the account name
whoami, err := exec.LookPath("whoami.exe")
Expand Down

0 comments on commit cc6c989

Please sign in to comment.