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

Debugger: Logpoint name #896

Merged
merged 6 commits into from
Feb 13, 2018
Merged

Debugger: Logpoint name #896

merged 6 commits into from
Feb 13, 2018

Conversation

chingor13
Copy link
Contributor

The default log name for logpoints should be appengine.googleapis.com%2Frequest_log. Note that the / is uri encoded here (@dwsupplee - I'm not sure if the user should be expected to escape the log name).

Naming the log name like this allows the Debug UI to show logpoints in a special location on the same page without having to navigate to the Logging UI.

Also prefixes the logpoint message with LOGPOINT: to match what other languages' agents are doing.

@chingor13 chingor13 requested a review from tmatsuo as a code owner February 12, 2018 17:41
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 12, 2018
@chingor13 chingor13 changed the title Debugger: Logpoint labels Debugger: Logpoint name Feb 12, 2018
@@ -47,6 +47,8 @@ class Agent
use BatchDaemonTrait;
use SysvTrait;

const DEFAULT_LOGPOINT_LOG_NAME = 'appengine.googleapis.com%2Frequest_log';

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@chingor13 chingor13 merged commit 5c7522d into googleapis:master Feb 13, 2018
@chingor13 chingor13 deleted the debugger-logger-name branch February 13, 2018 17:00
@jdpedrie jdpedrie mentioned this pull request Feb 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants