Two postgresql configuration settings that are associated with write-ahead logging (wal) and data durability are wal_level and archive_mode. This is an in-depth explanation: To set the wal_level parameter in postgresql, you need to modify the postgresql. conf file.