Re: shorten dmesg.log

2011-09-02 Thread Michael Tautschnig
Hi,

  Would you mind taking a look at the logtail patch that's been sitting in
  experimental for almost forever already?
 I don't see how this can possibly work on something like the kernel message 
 buffer. Its contents will rotate once it runs full so the offset noted by 
 logtail will no longer be correct.
 I think the only way of handling that is putting a marker into the buffer 
 that will also rotate. (In case it rotates out, we take everything we can 
 get, which is just what would be done now.)

Please note that my patch relies on /var/log/kern.log instead of dmesg, hence no
ring buffer here. But I might be missing something else.

Best,
Michael



pgp7LMkupIVMl.pgp
Description: PGP signature


Re: shorten dmesg.log

2011-08-19 Thread Edgar Fuß
 Would you mind taking a look at the logtail patch that's been sitting in
 experimental for almost forever already?
I don't see how this can possibly work on something like the kernel message 
buffer. Its contents will rotate once it runs full so the offset noted by 
logtail will no longer be correct.
I think the only way of handling that is putting a marker into the buffer that 
will also rotate. (In case it rotates out, we take everything we can get, which 
is just what would be done now.)