Environment Variables

PGLS_LOG_PATH

The directory where the Daemon logs will be saved.

PGLS_LOG_LEVEL

Allows to change the log level. Default is debug. This will only affect "pgls*" crates. All others are logged with info level.

PGLS_LOG_PREFIX_NAME

A prefix that's added to the name of the log. Default: server.log.

PGLS_CONFIG_PATH

A path to the configuration file

DATABASE_URL

A connection string that encodes the full database connection setup.

PGHOST

The host of the database server.

PGPORT

The port of the database server.

PGUSER

The username to connect to the database.

PGPASSWORD

The password to connect to the database.

PGDATABASE

The name of the database to connect to.

PGT_LOG_PATH

The directory where the Daemon logs will be saved. Deprecated, use PGLS_LOG_PATH instead.

PGT_LOG_LEVEL

Allows to change the log level. Default is debug. This will only affect "pgls*" crates. All others are logged with info level. Deprecated, use PGLS_LOG_LEVEL instead.

PGT_LOG_PREFIX_NAME

A prefix that's added to the name of the log. Default: server.log. Deprecated, use PGLS_LOG_PREFIX_NAME instead.

PGT_CONFIG_PATH

A path to the configuration file. Deprecated, use PGLS_CONFIG_PATH instead.