google_structlog icon indicating copy to clipboard operation
google_structlog copied to clipboard

Updated to be compatible with current version of cloud logger

Open rakeshmukundan opened this issue 4 years ago • 1 comments

  • Import path is updated to logging_v2
  • Updated definition of _worker_enqueue

rakeshmukundan avatar Feb 07 '21 21:02 rakeshmukundan

Hi @rakeshmukundan!

I have tried your PR:

pip3 install --user git+https://github.com/snickell/google_structlog.git@refs/pull/6/head

However, it is not working as expected. Every time I send a log (info, warn, etc.), the library enters into an infinite loop, and it sends the log again and again.... I can only stop it by killing the python process.

1

Moreover, this is what I get in stackdriver:

2

edumotya avatar Mar 31 '21 11:03 edumotya