[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where's the log



On 2014-09-02 17:13 +0200, The Wanderer wrote:

> On 09/02/2014 at 10:05 AM, Bzzzz wrote:
>
>> On Tue, 02 Sep 2014 09:44:36 -0400 The Wanderer 
>> <wanderer@fastmail.fm> wrote:
>> 
>>> Did you already check dmesg? That's where I usually find the 
>>> messages which appear during a(n attempt at) suspend/resume.
>> 
>> Of course, as I made a grep for 'pci' into /var/log …
>
> I often find that there is text in dmesg which - to the best of my
> ability to determine - is not visible in any file under /var/log/.

That's not my experience, I see everything in /var/log/kern.log.

> My working hypothesis is that the dmesg buffer is kept in RAM, never
> goes to disk, and is lost after reboot. That's the only thing I've been
> able to think of that matches the behavior I seem to have observed.

If you're using sysvinit, early messages (before syslog starts) will not
be in /var/log/kern.log, but the bootlogs init script writes them to
/var/log/dmesg instead.

Cheers,
       Sven


Reply to: