/usr/share/logwatch/default.conf/logfiles/postgresql.conf is in logwatch 7.4.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Logfile definition for PostgreSQL
#Prerequisite: if you are using stderr as PostgreSQL log_destination, you must at
#least set log_line_prefix = '%t ' in the postgresql.conf file.
# What actual file? Defaults to LogPath if not absolute path....
LogFile = postgresql/postgresql.log
LogFile = postgresql/postgresql.log.1
LogFile = postgresql/postgresql-*.log
LogFile = postgresql/postgresql-*.log.1
# If the archives are searched, here is one or more line
# (optionally containing wildcards) that tell where they are...
#If you use a "-" in naming add that as well -mgt
Archive = postgresql/postgresql.log.*.gz
Archive = postgresql/postgresql-*.log.*.gz
# Expand the repeats (actually just removes them now)
*ExpandRepeats
###########################################################################
## Please send all comments, suggestions, bug reports,
## etc, to logwatch-devel@lists.sourceforge.net
############################################################################
|