Conrad Lender <crlender(at)gmail(dot)com> writes:
> SHOW log_min_messages;
> log_min_messages
> ------------------
> notice
> (1 row)
> I thought this would cause all warnings to be logged automatically.
Yup.
> When
> I enter "COMMIT" in psql, I do get the warning, but I don't see it in
> the log file. What could be the problem?
What seems most likely is that you're looking at the wrong log file.
Recheck the "where to log" settings.
regards, tom lane