The bot works, but the logs do not work

Any console .log is not displayed in the logs! Help fix it!

Hello @Ainaconofficial, can you please provide the name of the project facing the issue?

@Ainaconofficial, it might be because you’re missing this piece of code in your server.js:

const listener = app.listen(process.env.PORT, function() {
  console.log("Your app is listening on port " + listener.address().port);

Project name: imminent-heat

Does not help. But in old projects, both logs and this code work. I do not understand why in the new ones.

No project found at imminent-heat. Maybe it’s set to private?

Oh… Yup. Im sorry. I unlocked my project

Somewhere in your code console object could be redetermined, so it won’t work as expected