> On Sat, 17 Jun 2000, Glynn Clements wrote:
> > [EMAIL PROTECTED] wrote:
> > > i want to log all info from ipchains logging
> > > to /var/log/ipchains
> > >
> > > now it logs to console and /var/log/messages
> > >
> > > can someone tell me to what ipchains logs ? (kern. ?)
> >
> > kern.info
> >
> > > or how to change this ?
> >
> > dump_packet() in /usr/src/linux/net/ipv4/ip_fw.c.
>
> hmms i looked in this file, but could not find something refering to
> kern.info or something
>
> i'm not a programmer, so could someone help me out ?
>
> so if i want to change it to local6.info
> where and how should i do this ?
>
I have kernel 2.2.14 (shipped with RH 6.2) and in this file at line 421 you
have what your looking for:

printk(KERN_INFO "Packet log: %s ", chainlabel);

Eduardo

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to