mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-02 22:57:34 +02:00
Fixed issue #154: Log files are overwritten rather than appended.
This commit is contained in:
parent
e5cf1d84a7
commit
d89cd955d0
@ -113,7 +113,7 @@ sub logFileSet
|
||||
$bExists = true;
|
||||
}
|
||||
|
||||
sysopen($hLogFile, $strFile, O_WRONLY | O_CREAT, 0660)
|
||||
sysopen($hLogFile, $strFile, O_WRONLY | O_CREAT | O_APPEND, 0660)
|
||||
or confess &log(ERROR, "unable to open log file ${strFile}", ERROR_FILE_OPEN);
|
||||
|
||||
if ($bExists)
|
||||
|
Loading…
x
Reference in New Issue
Block a user