reassign 400244 postgresql-common
tag 400244 unreproducible moreinfo
thanks, mate

Hi commi,

commi [2006-11-24 18:56 +0100]:
> /etc/postgresql/8.1/main/postgresql.conf:218
> 
> log_directory = 'pg_log'                # Directory where log files are 
> written
>                                         # Can be absolute or relative to 
> PGDATA
> 
> The directory 'pg_log' does not exist by default.
> However a prior version of postgresql from aprox. 4 weeks ago came with a 
> matching
> default log_directory entry. Just those nice things that make your life 
> easier ;-)

How did you create this cluster and configuration file? The default
configuration file looks like this:

----------- 8< snip -------------
# This is used when logging to stderr:
#redirect_stderr = off                  # Enable capturing of stderr into log 
                                        # files

# These are only used if redirect_stderr is on:
#log_directory = 'pg_log'               # Directory where log files are written
                                        # Can be absolute or relative to PGDATA
----------- 8< snip -------------

No script in postgresql-common touches log_directory, and the
postgresql-X.Y packagages do not deal with configuration files at all.
By default, the /etc/postgresql/8.1/main/log symlink determines the
path of the log file.

This very much looks like custom configuration. If you manually
enabled this setting, then of course you should set it to a directory
that actually exist.

Can you please give more details about the history of postgresql.conf?

Thanks,

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

Attachment: signature.asc
Description: Digital signature

Reply via email to