Hello,
I find there is a new feature about getting current log file name on the TODO list (for detail please check http://www.postgresql.org/message-id/Pine.GSO.4.64.0811101325260.9276@westnet.com) On the other side, we finish a ticket to this requirement for our customer.
If the PG community still need this feature, there will be a pleasure for us to make contribution.
------------------
Jerry Yu