| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Doesn't make sense but let me quickly review |
Sorry, something went wrong.
|
Yeah bad commit that should be nuked |
Sorry, something went wrong.
|
@waprin Where was it from? Stray commit from bad rebase? Also why did CLA bot not yell at me? |
Sorry, something went wrong.
|
When you say nuke do mean folded into the original or just deleted? |
Sorry, something went wrong.
|
deleted |
Sorry, something went wrong.
|
@waprin I deleted and in the process decided to fold in the rebase changes needed to avoid the weird extra commit. I made some other changes, but want them to be clear so it doesn't seem to nanny-ish (it is nanny-ish, but I think the changes are good?): https://gist.github.com/dhermes/02bf516901721cb3d2a3c48cd93958b0 As you can see the changes are the following:
We can address outside this PR but I'm also pretty uncomfortable with
|
Sorry, something went wrong.
|
@dhermes changes look good.
Why do you consider this a problem? I'm fine to change it, we could roll that code into __init__ or maybe gcloud.logging.handler.core? gcloud.logging.handlers.logging but that might also be confusing.
Just not sure what to do with this, if you want I can help with googleapis/oauth2client#549 if that will expedite anything. |
Sorry, something went wrong.
Refactors handlers into separate package Adds background threaded transport Adds fix to Batch commit to properly set log name
|
@waprin It's the repeated name, just feels wrong / like the base-package isn't named correctly. As for the copy, why is it there? |
Sorry, something went wrong.
|
The repeated name, I agree just struggling to think of better name. The whole thing is "add Python logging handler functionality", handler.py contains the actual logging handler class, the rest is support like transports etc. The copy is there because since it uses the client on a background thread to write the logs, there's no guarantee the main thread isn't using the client at the same time. There's no way to lock the client and the system tests were occasionally failing due to this, copying seems the most sane approach. |
Sorry, something went wrong.
|
gcloud.logging.handlers.logging is another option since its for Python logging but still repeats a name. logging_handler is a bit verbose but might be best way to disambiguate. |
Sorry, something went wrong.
…on (#2151) * change to ai.generate * convert the input data type * remove default value setting
| Back | FazBrowse Home | New Git URL |
Fixes #2102
Will likely fail the CLA check (since it contains someone else's commits) but we can just merge with a failed check.
/cc @waprin