From owner-freebsd-chat Fri Jan 5 19:11:24 2001 From owner-freebsd-chat@FreeBSD.ORG Fri Jan 5 19:11:21 2001 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 2EAD437B400 for ; Fri, 5 Jan 2001 19:11:21 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 14EjlI-000Euq-00 for freebsd-chat@freebsd.org; Sat, 6 Jan 2001 03:11:20 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.1/8.11.1) id f063BJw79609 for freebsd-chat@freebsd.org; Sat, 6 Jan 2001 03:11:19 GMT (envelope-from jcm) Date: Sat, 6 Jan 2001 03:11:19 +0000 From: j mckitrick To: freebsd-chat@freebsd.org Subject: frustration with debug messages Message-ID: <20010106031118.A79573@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello all, I am asking here because no one on questions has been able to help. I have run into a very frustrating problem. I am using standard printf statements for status info while debugging the parallel port zip driver in PS2 mode. For a reason I have yet to discover, my messages are no longer appearing consistently in my dmesg output. As I move through the debug process, I will enable and disable blocks of debug output, but when I run dmesg, what I see is not the same as what I saw while the machine was rebooting. These same messages usually end up in /var/log/messages, but I can't figure out the pattern. I saw that messages.4 was not gzipped like the others. Could i have overflowed syslogd and messed things up? I would be happy to post info besides my syslog.conf, but I didn't want to clog the list. My work has come to a standstill, since I cannot access the debug output. Please help! Hopefully it is only a small issue that I can learn from and fix promptly. jm -- ------------------------------------------------------------------------ Jonathon McKitrick -- jcm@freebsd-uk.eu.org ------------------------------------------------------------------------ # $FreeBSD: src/etc/syslog.conf,v 1.9.2.1 1999/08/29 14:19:02 peter Exp $ # # Spaces are NOT valid field separators in this file. # Consult the syslog.conf(5) manpage. #*.err;kern.debug;auth.notice;mail.crit /dev/console *.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages #security.* /var/log/security mail.info /var/log/maillog lpr.info /var/log/lpd-errs cron.* /var/log/cron *.err root #*.notice;news.err root *.alert /var/log/messages *.emerg * # uncomment these if you're running inn # news.crit /var/log/news/news.crit # news.err /var/log/news/news.err # news.notice /var/log/news/news.notice !startslip *.* /var/log/slip.log !ppp *.* /var/log/ppp.log !ipfw *.* /var/log/ipfw.log To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message