pino-stackdriver only prints the word “logging”

184
January 07, 2021, at 7:50 PM

I am trying to leverage the pino-stackdriver library to get proper log levels in stackdriver, but I just see the word "logging" printed to the console and that's it.

Dockerfile run command

CMD node dist/main | pino-stackdriver --project "${GCP_PROJECT_ID}" --credentials "/service-account.json"

I have:

  • Verified the service account file is definitely at that location.
  • pino-stackdriver is installed globally in the docker image using RUN yarn global add pino-stackdriver.
  • Verified the service account has admin privileges on the whole project (just to test it is not a permissions issue).
  • If I remove the pipe to pino-stackdriver all the logs print successfully (i.e. not replaced with "logging").

Not sure what I'm doing wrong here.

Rent Charter Buses Company
READ ALSO
not being asked to set password for mysql installation

not being asked to set password for mysql installation

I downloaded the mysql installer and installed it as neededHowever, i am not getting the option to configure the password

182
How to display apexChart donut type data using javascript in laravel?

How to display apexChart donut type data using javascript in laravel?

I am using Laravel 8 and Apex Chart library to display donuts chartI have data as,

193
Using parent class to contain many instances of child class

Using parent class to contain many instances of child class

I am trying to write a data processing script and I think I'm misinterpreting the structure of Object Oriented Programming in Python

168
Java Bluetooth Server in Raspberry Pi 0w

Java Bluetooth Server in Raspberry Pi 0w

What is the simplest solution for creating Java Bluetooth Server in Raspberry Pi 0w?

169