Alternate file for log_in_vain

JJB Barbish3 at adelphia.net
Tue May 25 12:42:35 PDT 2004


Sure you can.
In etc/syslog.conf  say

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



-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Reuben A.
Popp
Sent: Tuesday, May 25, 2004 12:35 PM
To: freebsd-questions at freebsd.org
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-----
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list