Hi We have a kernel module that is exporting its logs to a separate circular buffer via a debugfs file in the linux kernel. We were wondering if we can use imklog to read that file and write the kernel logs to a separate ext3/vfat file in userspace. Is that possible?
For imfile, I see we can provide input() blocks to read multiple files. Didn't find something similar in documentation for imklog. Or can we use the imfile module for our requirement? From the documentation, I see imfile allows a user to specify a custom file to read and attach a ruleset. Perhaps, we can use a ruleset ruleset(name="remote") { action(type="omfile" file="/home/persistent/kernel/module/fwd/traces") } to write the logs from the kernel debugfs file to a separate file. Thank you Prasad _______________________________________________ rsyslog mailing list https://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.