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

pg_log changed to log in postgres 10 as default log directory #1754

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

jrafanie
Copy link
Member

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

log_directory (string)
When logging_collector is enabled, this parameter determines the directory in which log files will be created. It can be specified as an absolute path, or relative to the cluster data directory. This parameter can only be set in the postgresql.conf file or on the server command line. The default is pg_log.

vs.

https://www.postgresql.org/docs/10/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHERE log_directory (string)
When logging_collector is enabled, this parameter determines the directory in which log files will be created. It can be specified as an absolute path, or relative to the cluster data directory. This parameter can only be set in the postgresql.conf file or on the server command line. The default is log.

It remains the same in postgresql 13.

See also:
ManageIQ/manageiq#22747
ManageIQ/manageiq-appliance#377

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

log_directory (string)
When logging_collector is enabled, this parameter determines the directory in which log files will be created. It can be specified as an absolute path, or relative to the cluster data directory. This parameter can only be set in the postgresql.conf file or on the server command line. The default is pg_log.

vs.

https://www.postgresql.org/docs/10/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHERE
log_directory (string)
When logging_collector is enabled, this parameter determines the directory in which log files will be created. It can be specified as an absolute path, or relative to the cluster data directory. This parameter can only be set in the postgresql.conf file or on the server command line. The default is log.

It remains the same in postgresql 13.
@bdunne bdunne merged commit 5881a8f into ManageIQ:master Oct 23, 2023
github-actions bot pushed a commit to ManageIQ/manageiq.github.io that referenced this pull request Oct 23, 2023
@Fryguy
Copy link
Member

Fryguy commented Oct 24, 2023

Backported to quinteros in commit 6155655.

commit 61556557059f243a464fec59aa98d0c9a4a7aff5
Author: Brandon Dunne <[email protected]>
Date:   Mon Oct 23 16:14:04 2023 -0400

    Merge pull request #1754 from jrafanie/pg_log_is_now_log
    
    pg_log changed to log in postgres 10 as default log directory
    
    (cherry picked from commit 5881a8f4f1b5b966a3fbac1a2dc2446a4a65900a)

Fryguy pushed a commit that referenced this pull request Oct 24, 2023
pg_log changed to log in postgres 10 as default log directory

(cherry picked from commit 5881a8f)
github-actions bot pushed a commit to ManageIQ/manageiq.github.io that referenced this pull request Oct 24, 2023
@jrafanie jrafanie deleted the pg_log_is_now_log branch January 31, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants