Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

#1577: allow logging protobuf entries#1661

Merged
tseaver merged 4 commits intogoogleapis:logging-apifrom
tseaver:1577-logging-protobuf_load_dump
Mar 26, 2016
Merged

#1577: allow logging protobuf entries#1661
tseaver merged 4 commits intogoogleapis:logging-apifrom
tseaver:1577-logging-protobuf_load_dump

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Mar 25, 2016

Also, add a helper to parse an entry's payload into a protobuf message object.

Closes #1577

@tseaver tseaver added the api: logging Issues related to the Cloud Logging API. label Mar 25, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 25, 2016
@tseaver
Copy link
Contributor Author

tseaver commented Mar 25, 2016

Python 3.4 test failure is due to protocolbuffers/protobuf#1352.

I will work around by using a different message type.

@tseaver
Copy link
Contributor Author

tseaver commented Mar 25, 2016

@dhermes, @jgeewax PTAL

:type message: Protobuf message
:param message: the message to be logged
"""
Parse(json.dumps(self.payload), message)

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Mar 25, 2016

LGTM pending docstring update

@tseaver tseaver merged commit cd18373 into googleapis:logging-api Mar 26, 2016
@tseaver tseaver deleted the 1577-logging-protobuf_load_dump branch March 26, 2016 04:40
parthea added a commit that referenced this pull request Mar 2, 2026
Minor spelling correction

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 6, 2026
---------

Co-authored-by: Salem Boyland <salemb@google.com>
Co-authored-by: Tim Swast <swast@google.com>
parthea pushed a commit that referenced this pull request Mar 9, 2026
fix: close write object stream always. 

otherwise Task will remain for long time until GC kills it and it'll
throw this `"Task was destroyed but it is pending!"`
parthea added a commit that referenced this pull request Mar 9, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v0.7.0
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:8e2c32496077054105bd06c54a59d6a6694287bc053588e24debe6da6920ad91
<details><summary>google-cloud-storage: 3.8.0</summary>

##
[3.8.0](googleapis/python-storage@v3.7.0...v3.8.0)
(2026-01-13)

### Features

* expose persisted size in mrd (#1671)
([0e2961be](googleapis/python-storage@0e2961be))

* implement &#34;append_from_file&#34; (#1686)
([1333c956](googleapis/python-storage@1333c956))

* compute chunk wise checksum for bidi_writes (#1675)
([139390cb](googleapis/python-storage@139390cb))

* flush the last chunk in append method (#1699)
([89bfe7a5](googleapis/python-storage@89bfe7a5))

* add write resumption strategy (#1663)
([a57ea0ec](googleapis/python-storage@a57ea0ec))

* add bidi stream retry manager. (#1632)
([d90f0ee0](googleapis/python-storage@d90f0ee0))

* make flush size configurable (#1677)
([f7095faf](googleapis/python-storage@f7095faf))

### Bug Fixes

* no state lookup while opening bidi-write stream
([2d5a7b16](googleapis/python-storage@2d5a7b16))

* no state lookup while opening bidi-write stream (#1636)
([2d5a7b16](googleapis/python-storage@2d5a7b16))

* close write object stream always (#1661)
([4a609a4b](googleapis/python-storage@4a609a4b))

* add system test for opening with read_handle (#1672)
([6dc711da](googleapis/python-storage@6dc711da))

</details>

---------

Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: logging Issues related to the Cloud Logging API. 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