Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add log #492

Merged
merged 1 commit into from
Dec 14, 2024
Merged

add log #492

merged 1 commit into from
Dec 14, 2024

Conversation

FunkyPantsSa
Copy link
Contributor

env image_env default_value
logging_collector LOGGING_COLLECTOR off
log_directory LOG_DIRECTORY pg_log
log_filename LOG_FILENAME xxx
log_rotation_age LOG_ROTATION_AGE 1d
log_rotation_size LOG_ROTATION_SIZE 100MB
log_truncate_on_rotation LOG_TRUNCATE_ON_ROTATION on
log_lock_waits LOG_LOCK_WAITS on
log_duration LOG_DURATION on
log_statement LOG_STATEMENT all
log_min_duration_statement LOG_MIN_DURATION_STATEMENT 20
log_connections LOG_CONNECTIONS on
log_disconnections LOG_DISCONNECTS on
log_line_prefix LOG_LINE_PREFIX xx
log_timezone LOG_TIMEZONE Etc/UTC

|       env              | image_env               | default_value          |
|---------------------|----------------------|-------------|
| logging_collector   | LOGGING_COLLECTOR    | off         |
| log_directory       | LOG_DIRECTORY        | pg_log      |
| log_filename        | LOG_FILENAME         | xxx         |
| log_rotation_age    | LOG_ROTATION_AGE     | 1d          |
| log_rotation_size   | LOG_ROTATION_SIZE    | 100MB       |
| log_truncate_on_rotation | LOG_TRUNCATE_ON_ROTATION | on         |
| log_lock_waits      | LOG_LOCK_WAITS       | on          |
| log_duration        | LOG_DURATION         | on          |
| log_statement       | LOG_STATEMENT        | all         |
| log_min_duration_statement | LOG_MIN_DURATION_STATEMENT | 20        |
| log_connections     | LOG_CONNECTIONS      | on          |
| log_disconnections  | LOG_DISCONNECTS      | on          |
| log_line_prefix     | LOG_LINE_PREFIX      | xx          |
| log_timezone        | LOG_TIMEZONE         | Etc/UTC     |
@NyakudyaA
Copy link
Collaborator

@FunkyPantsSa Are those default values from the Postgres documentation?

@FunkyPantsSa
Copy link
Contributor Author

FunkyPantsSa commented Dec 13, 2024

@NyakudyaA > @FunkyPantsSa Are those default values from the Postgres documentation?

Yes, they are from official documentation:

https://www.postgresql.org/docs/16/runtime-config-logging.html

@NyakudyaA NyakudyaA merged commit 1464732 into kartoza:develop Dec 14, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants