Skip to content

Troubleshooting

Logging

The AQG_LOG environment variable allows you to configure logging settings. By default, the logging level is set to info.

Set the logging level

Use the following command to log only error messages:

Bash
$ AQG_LOG=error yanadump

This command sets the log level for yanadump to debug while other modules retain the default info:

Bash
$ AQG_LOG=info,yanadump=debug yanadump

For more detailed information about using the environment variable, refer to the env_logger documentation.

Problem: Self-signed certificate verification failure

Self-signed certificates must have a valid Subject Alternative Name and a Basic Constraint extension with the CA value set to FALSE in order to be accepted.

The following OpenSSL command line example generates a self-signed certificate for localhost:

Bash
$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 3650 -nodes -subj '/CN=localhost' -addext 'basicConstraints=CA:FALSE' -addext 'subjectAltName=DNS:localhost'