comparison src/syslog2iptables.cpp @ 20:0d65c3de34fd

add better logging
author carl
date Sun, 08 Jan 2006 12:36:57 -0800
parents 1134c6a1d692
children 00bd0b0ef015
comparison
equal deleted inserted replaced
19:13b2e663b553 20:0d65c3de34fd
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/ 19 ***************************************************************************/
20 20
21 // debug levels: 21 // debug levels:
22 // 4 - show syslog lines that match regex 22 // 4 - show syslog lines that match regex
23 // 3 - show iptables commands 23 // 3 - show addresses being dropped/released from the filter
24 // 2 - show files open/close 24 // 2 - show files open/close
25 // 1 - show config files loading 25 // 1 - show config files loading
26 26
27 #include "includes.h" 27 #include "includes.h"
28 #include <iostream> 28 #include <iostream>