Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2013 11:37:53 -0400
From:      "Mike." <the.lists@mgm51.com>
To:        questions@freebsd.org
Subject:   Re: logging during loader
Message-ID:  <201306241137530494.00ABFF57@smtp.24cl.home>
In-Reply-To: <51C86033.7060404@qeng-ho.org>
References:  <20936.18494.573287.144022@jerusalem.litteratus.org> <51C86033.7060404@qeng-ho.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 6/24/2013 at 4:05 PM Arthur Chance wrote:

|On 06/24/13 14:23, Robert Huff wrote:
|>
|> 	During the processing of loader.conf, something gets printed
|> that suggests all is not right.  However, this is a sufficiently
|> modern machine it goes by too fast to read exactly what.
|> 	It is my understanding that file gets read before the system
|> logging facilities are operational, and possibly before things like
|> ^S/^Q work on the terminal.
|> 	Is there a way to store the results of that phase of boot-up?
 =============



This has worked well for me, logging the early boot process that
usually scrolls by on the screen. I use it on 8.3 and 9.1.

I was surprised that it managed to log console stuff that occurred
before syslogd was loaded...


from syslog.conf

# uncomment this to log all writes to /dev/console to 
#   /var/log/console.log
# touch /var/log/console.log and chmod it to mode 600 
#   before it will work
console.info				/var/log/console.log





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?201306241137530494.00ABFF57>