Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into master
  • Loading branch information
fmbiete committed Nov 14, 2020
2 parents 7b8d927 + b385362 commit 8557196
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ postgres=# CREATE EXTENSION pgauditlogtofile;
### pgaudit.log_directory
Name of the directory where the audit file will be created.

**Scope**: System

**Default**: 'log'

Empty or NULL will disable the extension and the audit logging will be done to PostgreSQL server logger.
Expand All @@ -35,13 +37,17 @@ Name of the file where the audit will be written. Writing to an existing file wi

This variable can contain time patterns up to minute to allow automatic rotation.

**Scope**: System

**Default**: 'audit-%Y%m%d_%H%M.log'

Empty or NULL will disable the extension and the audit logging will be done to PostgreSQL server logger.

### pgaudit.log_rotation_age
Number of minutes after which the audit file will be rotated.

**Scope**: System

**Default**: 1440 minutes (1 day)

0 will disable the rotation
Expand Down

0 comments on commit 8557196

Please sign in to comment.