You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-06 08:49:29 +02:00
Fixed issue #154: Log files are overwritten rather than appended.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user