Alternate file for log_in_vain

2004-05-25 Thread Reuben A. Popp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Morning all :)

I was asked by a friend recently if log_in_vain messages could be redirected 
to another file besides /var/log/messages.  After doing some sleuthing I 
pretty much couldn't find anything.  The farthest I got was seeing in the 
source (/usr/src/sys/netinet/tcp_input.c) that log_in_vain logs as a kernel 
message at the info level.

So, my question is can one log all the output from log_in_vain to an alternate 
logfile easily, or would one have to hack the code to get it to work (not to 
mention possibly break something lol).

Thanks in advance for any insight :)

Cheers,
Reuben A. Popp
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAs3XJd1N/Kyhy5tIRArACAKDF0DKz8S2ISe6sXyO+jGPPjtJBVQCfasbP
jrZ/Bn7yF652FLew4b1LJyM=
=vMbD
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Alternate file for log_in_vain

2004-05-25 Thread JJB
Sure you can.
In etc/syslog.conf  say

kern.=info  /var/log/loginvain.log



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Reuben A.
Popp
Sent: Tuesday, May 25, 2004 12:35 PM
To: [EMAIL PROTECTED]
Subject: Alternate file for log_in_vain

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Morning all :)

I was asked by a friend recently if log_in_vain messages could be
redirected
to another file besides /var/log/messages.  After doing some
sleuthing I
pretty much couldn't find anything.  The farthest I got was seeing
in the
source (/usr/src/sys/netinet/tcp_input.c) that log_in_vain logs as a
kernel
message at the info level.

So, my question is can one log all the output from log_in_vain to an
alternate
logfile easily, or would one have to hack the code to get it to work
(not to
mention possibly break something lol).

Thanks in advance for any insight :)

Cheers,
Reuben A. Popp
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAs3XJd1N/Kyhy5tIRArACAKDF0DKz8S2ISe6sXyO+jGPPjtJBVQCfasbP
jrZ/Bn7yF652FLew4b1LJyM=
=vMbD
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]