Date: Fri, 30 Mar 2001 18:54:04 -0500 From: Coleman Kane <cokane@FreeBSD.ORG> To: Drew Eckhardt <drew@PoohSticks.ORG> Cc: Gurpratap Virdi <gvirdi@gvirdi.com>, "Daniel O'Connor" <doconnor@gsoft.com.au>, hackers@FreeBSD.ORG Subject: Re: Writing to a file in the kernel Message-ID: <20010330185404.C37201@cokane.yi.org> In-Reply-To: <200103301714.f2UHEmO25798@chopper.Poohsticks.ORG>; from drew@PoohSticks.ORG on Fri, Mar 30, 2001 at 10:14:48AM -0700 References: <002d01c0b924$a07d2090$8d7d1f26@dhgfhcpps5nhe1> <200103301714.f2UHEmO25798@chopper.Poohsticks.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Yeah. And you can prefix the messages with DEBUG: or some shit and use grep to parse them out. Drew Eckhardt had the audacity to say: > > In message <002d01c0b924$a07d2090$8d7d1f26@dhgfhcpps5nhe1>, gvirdi@gvirdi.com w > rites: > >The problem is that printf's scroll off the screen. How can I write to a > >file? > > syslogd(8)/syslog.conf(5). > > Also note that by default, on must unices the stock /etc/syslog.conf sends > kernel messages to /var/log/messages (along with everything else). > > YMMV. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6xRybERViMObJ880RAY1VAJ9DzwQSaeRIglNSZ6j78KDqoiKwpgCgmw72 i3K5Jfudl0EZ/1K7LlmIJm4= =jKwH -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010330185404.C37201>
