-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersmetricsMetrics related issuesMetrics related issues
Description
Describe the bug
The current log parser implementation starts reading from offset zero on opening new log file, with configs like log_truncate_on_rotation = off and log_file_name = postgresql-%H, the files will be reused and not truncated, hence pgwatch will read all of them from the beginning each time they become the latest modified file.
Expected behavior
pgwatch should start from the offset it was it the last time it saw the file.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersmetricsMetrics related issuesMetrics related issues