pgaudit log directory - Mailing list pgsql-general

From Dave Hughes
Subject pgaudit log directory
Date
Msg-id CAFTBbFCb6bnYXq8VgBDA55=6g9tRrzKE44UMbDP9nQkEoDGVcA@mail.gmail.com
Whole thread Raw
Responses Re: pgaudit log directory
List pgsql-general
Hello,
I'm using PostgreSQL 10.5 on Linux (RHEL).  I'm new to administering PostgreSQL and recently installed pgaudit.  I believe I have it installed correctly and wanted to start playing with it to see how exactly it works. 

So while walking through a tutorial I found online, I saw where I can enter a statement in PostgreSQL, such as:
ALTER SYSTEM SET pgaudit.log TO 'read, write';
SELECT pg_reload_conf();
Then after reading or writing to a table, you can then check "pg_log" for the audit entries.  But my issue is that I can't find the log file at all?  

In my main PostgreSQL directory (/work/PostgreSQL/10)I do have a file called "logfile", but there are no entries from today.  When I go into the pgaudit sub-directory (/work/PostegreSQL/10/pgaudit) I don't see any log file in there either? 

Can someone point me in the right direction?

Thanks,
Dave Hughes

pgsql-general by date:

Previous
From: Shatamjeev Dewan
Date:
Subject: RE: ERROR: there is no unique constraint matching given keys forreferenced table "audit_p"
Next
From: Miles Elam
Date:
Subject: Re: ERROR: there is no unique constraint matching given keys forreferenced table "audit_p"