On Fri, 9 Nov 2007, David BOURIAUD wrote:

using a text utility like grep is not suitable. I think of this when you get a many hundreds of MB logfile at least, or when you need to track commands made by one peculiar user in real-time.

If your problem is that individual log files are too big to search usefully, one option is to set log_rotation_size so that doesn't happen. As for real-rime, I do this all the time with some variant on

tail -f <log> | grep <user>

--
* Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to