Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

162
Visualizações
Console Logs not showing in Google Cloud Platform after program initializes

Relatively new to deploying on Google Cloud. I recently created an Node / Typescript application that is completely backend, in the sense that there are no routes or anything hit or anything for a user to see in a browser. It just runs in the background and performs functions on certain days of the month.

When I deployed my app on the cloud, everything was met with success. All files were uploaded and all services updated. But when I check on the Google Cloud Logs Explorer, there are no logs pertaining to what I should be seeing.

Here is the code that runs on start up inside my index.js file:

function init() {
    console.log("App starting...");
    cycle();
}
init();

I am aware that when the code is deployed on GCA, it uses a start script from your package.json. Mine is set to:

"start": "node dist/index.js"

So after I compile the TS code, this directory and file are created. But still, when the code is up and running with no issues, no console logs will show in the logger. Is base console logging not compatible with the log interface on the Gcloud platform?

My app.yaml file is present and contains nodejs16 as the runtime btw.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda