Le 11/03/2016 10:49, Shulgin, Oleksandr a écrit :
The only cons I see is that it can be more "difficult" with some language to gather the real path, but do we really need it? There is also little time where the symlink doesn't exist, this is when it needs to be removed before being recreated to point to the new log file. If your external script try to reopen the log file at this moment it will complain that file doesn't exists and looping until the file exists is probably a bad idea.
--
Gilles Darold
Consultant PostgreSQL
http://dalibo.com - http://dalibo.org