Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

reenable traceid logic in the logs #184

Open

Description

@ludoch

It seems that https://github.com/GoogleCloudPlatform/appengine-java-vm-runtime/pull/93/files
did not take care of the logic for logging traceid. It got removed.

There is a test showing how to do it in https://github.com/GoogleCloudPlatform/appengine-java-vm-runtime/blob/master/appengine-java-logging/src/test/java/com/google/apphosting/logging/JsonFormatterTest.java
search for "traceId"

There is no real doc for that (shame-) but we need to have the correct LogContext with the traceid when possible.

Activity

  1. assigned and unassigned on Feb 25, 2016
  2. ludoch commented on Feb 25, 2016

    @ludoch
    ContributorAuthor

    Also, I did not follow this area, but I am confused with VmRuntimeLogHandler versus VmRuntimeFileLogHandler

  3. ludoch commented on Feb 25, 2016

    @ludoch
    ContributorAuthor

    My understanding is that we would not need anymore VmRuntimeLogHandler but it would be nice if we can keep the compat way of defining java.util.logging.config.file for log levels?

  4. ludoch commented on Feb 25, 2016

    @ludoch
    ContributorAuthor

    As a side effect VmAppLogsWriter would disappear.

  5. ludoch commented on Feb 25, 2016

    @ludoch
    ContributorAuthor

    I think java.util.logging.config.file is already covered by standard, so this might not be an issue at all.
    Just some cleanup and adding the traceid is needed.

  6. ludoch commented on Feb 29, 2016

    @ludoch
    ContributorAuthor

    Hi @gregw: let me know if you have time to look at this one, or I will look at it.

  7. assigned and unassigned on Feb 29, 2016
  8. gregw commented on Feb 29, 2016

    @gregw
    Contributor

    I've not yet looked at this. If you don't get it done then I can look at it Wednesday or Thursday.

  9. added a commit that references this issue on Mar 2, 2016
  10. added a commit that references this issue on Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions