GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Stackdriver logging samples (JUL, Logback, Client library) by jabubake · Pull Request #826 · GoogleCloudPlatform/java-docs-samples

Conversation

@jabubake

@jabubake jabubake commented Aug 24, 2017

Copy link
Copy Markdown
Contributor
  • Also updated List Logs snippets to use google-cloud-java

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
jabubake added 5 commits August 24, 2017 12:54
@jabubake
wip samples
9b0a711
@jabubake
wip
97c250d
@jabubake
adding README, tests, formatting fixes
31396c4
@jabubake
updating README
bc2b92d
@jabubake
adding READMEs
6803adc
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 24, 2017
@jabubake
jabubake requested a review from lesv August 24, 2017 23:21
lesv
lesv reviewed Aug 24, 2017
View reviewed changes
Comment thread logging/cloud-client/src/main/java/com/example/logging/QuickstartSample.java
.build();

// Writes the log entry
// Writes the log entry asynchronously

@lesv lesv Aug 24, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, do we do anything to improve the odds that logs get written even if the app crashes? Can we? Big try / catch in main?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jabubake jabubake Aug 25, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do offer a logging.flush() but would n't help with the try / catch in main.
I get your point though, so will look into it separately as an issue on google-cloud-java.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
lesv
lesv approved these changes Aug 24, 2017
View reviewed changes

@lesv lesv left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might wish to have a matching CL (before merging) as your removing existing samples.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread logging/jul/src/main/java/com/example/logging/jul/Quickstart.java Outdated
@@ -0,0 +1,31 @@
/*
Copyright 2017, Google, Inc.

@lesv lesv Aug 24, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think the "," is nesc.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jabubake jabubake Aug 25, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Fixed missing licenses too.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread logging/logback/src/main/java/com/example/logging/logback/Quickstart.java Outdated
@@ -0,0 +1,31 @@
/*
Copyright 2017, Google, Inc.

@lesv lesv Aug 24, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comma

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jabubake jabubake Aug 25, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jabubake
fixing license issues
5b41a82
jabubake
jabubake commented Aug 25, 2017
View reviewed changes

@jabubake jabubake left a comment

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lesv : I've confirmed that the samples I removed are no longer referenced in the docs.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jabubake
jabubake merged commit 219f9ad into master Aug 25, 2017
@jabubake
jabubake deleted the stackdriver-logging branch August 25, 2017 17:00
@jabubake jabubake mentioned this pull request Aug 25, 2017
logging sample seems to be a lot harder than it should be... #775
Closed
minherz pushed a commit that referenced this pull request Nov 9, 2022
@release-please
chore(main): release 0.122.20-SNAPSHOT (#826)
687fd13
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
minherz pushed a commit that referenced this pull request Nov 10, 2022
@release-please @minherz
chore(main): release 0.122.20-SNAPSHOT (#826)
8b67ca4
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
minherz pushed a commit that referenced this pull request Nov 10, 2022
@release-please @minherz
chore(main): release 0.122.20-SNAPSHOT (#826)
f5e1e12
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
charlieyu1996 pushed a commit that referenced this pull request Nov 10, 2022
@gcf-owl-bot
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, gener…
eb7408f
…ator_java versions (#826)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472750037

Source-Link: googleapis/googleapis@88f2ea3

Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
@charlieyu1996 charlieyu1996 mentioned this pull request Nov 10, 2022
migrate code from googleapis/java-talent #7401
Closed
9 tasks
@Sita04 Sita04 mentioned this pull request Nov 11, 2022
migrate code from googleapis/java-recaptchaenterprise #7417
Merged
9 tasks
Sita04 pushed a commit that referenced this pull request Nov 11, 2022
@renovate-bot
deps: update dependency org.seleniumhq.selenium:selenium-java to v4.3…
ee676ec
….0 (#826)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.seleniumhq.selenium:selenium-java](https://selenium.dev/) ([source](https://togithub.com/SeleniumHQ/selenium)) | `4.2.2` -> `4.3.0` | [![age](https://badges.renovateapi.com/packages/maven/org.seleniumhq.selenium:selenium-java/4.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.seleniumhq.selenium:selenium-java/4.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.seleniumhq.selenium:selenium-java/4.3.0/compatibility-slim/4.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.seleniumhq.selenium:selenium-java/4.3.0/confidence-slim/4.2.2)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-recaptchaenterprise).
Sita04 pushed a commit that referenced this pull request Nov 15, 2022
@renovate-bot @Sita04
deps: update dependency org.seleniumhq.selenium:selenium-java to v4.3…
5afcde0
….0 (#826)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.seleniumhq.selenium:selenium-java](https://selenium.dev/) ([source](https://togithub.com/SeleniumHQ/selenium)) | `4.2.2` -> `4.3.0` | [![age](https://badges.renovateapi.com/packages/maven/org.seleniumhq.selenium:selenium-java/4.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.seleniumhq.selenium:selenium-java/4.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.seleniumhq.selenium:selenium-java/4.3.0/compatibility-slim/4.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.seleniumhq.selenium:selenium-java/4.3.0/confidence-slim/4.2.2)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-recaptchaenterprise).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@lesv lesv lesv approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@jabubake @lesv @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.