Question: First a question:

I am a complete newbie. Is it correct that postgresql installs with some default passwords without asking to change it during installation? What are those passwords? I am just playing with an app and if I know the default passwords, everything will be okay.

As you could tell I don't have the default passwords. Somewhere I read that postgres user allows login with no password. Do I then leave the password field in the app config file empty?

I used the following command from the postgresql command line:

```
ALTER ROLE postgres WITH PASSWORD 'new_password';

```

I get the following error:

```
ALTER: command not found.

```

Could you tell me what is going on?

I have postgresql 11.6 & 12.1.

Answer: 
If you have an object to log, I recommend just pass it directly to `console.log()`. `JSON.stringify()` might be adding carriage returns, which could be interpreted as multiple lines to log.

```
console.log({key1: 'val1', key2: 'val2'})

```

Just make sure that the object doesn't contain references to other very complex objects (especially self-referential objects), otherwise it could cause problems with evaluating the final string at runtime.
If you put

```
require('firebase-functions/lib/logger/compat');

```

at the top of your functions code with the latest version of the sdk
logs should come in 1 single line

src: <https://github.com/firebase/firebase-functions/issues/612#issuecomment-646652675>