On 5/21/2012 5:07 PM, Max Pyziur wrote:

One more suggestion; if I understand correctly, you want to tail -f a logfile, but you only want to see certain events; perhaps this is what you need:

tail -f /path/to/some/logfile | grep certain_event


Paul



fyi,

Max Pyziur
p...@brama.com

Max:

Thanks for email. Actually, I want to be able to see the message in context of whats around it as I am still learning about iptables and /var/log/messages. I tried a grep and it was even harder to see if anything was happening as I could do an action which I knew would leave a message right then and there.

To be honest, now that I found out that the problem with ssh from F16 to Cygwin was POM on the Windows side (and notice I am not limiting to just Cygwin (smile)), it has become "not so important". But some of the suggestions look worth looking at as I've wanted a way to get debug messages out of iptables into a file other than /var/log/messages as I try to learn more about usign iptables.

Paul
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to