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

Inconsistent line breaks in LogEvent messages (V2 API) #6492

Closed
etanshaul opened this issue Aug 23, 2021 · 0 comments · Fixed by #6506 or #6507
Closed

Inconsistent line breaks in LogEvent messages (V2 API) #6492

etanshaul opened this issue Aug 23, 2021 · 0 comments · Fixed by #6506 or #6507
Assignees
Milestone

Comments

@etanshaul
Copy link
Contributor

See https://github.com/GoogleCloudPlatform/cloud-code-intellij-internal/issues/4563

To repro:

  • Using the latest version of skaffold built from HEAD (latest commit at the time of opening this issue)
  • Run skaffold dev with --verbosity debug on the Cloud Code java-guestbook sample
  • Observe the output LogEvents from the V2 API

image

Debug level message - no line break

skaffoldLogEvent {
  task_id: "Build-1"
  subtask_id: "-1"
  level: INFO
  message: "Tags generated in258.279\302\265s"
}

default message - line break

skaffoldLogEvent {
  task_id: "Build-1"
  subtask_id: "java-guestbook-backend"
  level: UNKNOWN_ENUM_VALUE_LogLevel_-1
  message: "\033[32mFound Remotely\033[0m\n"
}

There is also some seemingly incorrect data in the level field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants