Would it be possible/easy to setup a ringbuffer log destination? Like
dmesg under linux it would be very useful to me to have a ringbuffer
log. On my laptop, for example, I don't often need more than the last
30-60 minutes of logs for fixing problems. And it'd make it more
possible to have limited logs if we could do something in rsyslog like:

*.info;mail.none;authpriv.none;cron.none  ringbuffer(/var/log/messages,
8192)

I was actually thinking about using an SD card or usb key as my 'hard
drive' and I want to limit unnecessary writes. So, if I could log
to /dev/shm and limit the total size of the logs via ringbuffer to 10M
or 20M then I'd not eat up much memory and none of the writes would be
to media with a limited write count.

Would this be something you'd consider adding? Or maybe I've not looked
hard enough and it's available now?

Thanks,
-sv


_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog

Reply via email to