Hi, I want to log all lustre events by syslog daemon to /var/log/messages . In lustre manual It says Debug can be controlled by masks in /proc/sys/lnet/subsystem_debug and /proc/sys/lnet/debug. But I didn''t any of these files. What can be the issue? #uname -a Linux OSS2 2.6.18-53.1.14.el5_lustre.1.6.5.1smp #1 SMP Thu Jun 26 01:38:50 EDT 2008 i686 athlon i386 GNU/Linux RaviKumar Madhuranthakam Senior Engineer|MindTree Ltd. |Phase -2,Global Village ,Mysore Road, Bangalore-560 059, INDIA |Voice +91 80 26264000 Extn: 67020 |Mob : 09886035205 | email: ravikumar_madhuranthakam at mindtree.com|www.mindtree.com<mailto:ravikumar_madhuranthakam at mindtree.com|www.mindtree.com> | ________________________________ http://www.mindtree.com/email/disclaimer.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090223/808fb6d1/attachment-0001.html
On Mon, 2009-02-23 at 14:30 +0530, Ravi Kumar Madhuranthakam wrote:> Hi, > > I want to log all lustre events by syslog daemon to /var/log/messagesAre you sure this is not being done already? Most Linux systems are pre-configured to log the kernel messages to /var/log/messages.> In lustre manual It saysDebug can be controlled by masks > in /proc/sys/lnet/subsystem_debug and /proc/sys/lnet/debug.That controls what level of Lustre debugging is kept in the internal log buffer. Neither of those procfiles will alter the level of debugging that goes to syslog. Additionally, the amount of debugging that can be generated by setting those masks to high values can very easily outpace the disk that is likely the target of a syslog daemon. Can I ask you what your end goal is? Maybe there is a better way to achieve it.> But I didn?t any of these files. What can be the issue?I''m afraid there was a too important (to the meaning of the question) word missing in that question to be sure of what you are asking. If I guess the word was "find" then you will not find the files in /proc/sys/lnet until the lnet module(s) are loaded. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090223/354571cc/attachment.bin