<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [openib-general] logset</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>logset print will print into /var/log/messages the kernel modules debug print status</FONT>
<BR><FONT SIZE=2>You should use it after the driver is loaded.</FONT>
</P>

<P><FONT SIZE=2>Example:</FONT>
<BR><FONT SIZE=2>> logset print</FONT>
<BR><FONT SIZE=2>> tail /var/log/messages</FONT>
</P>

<P><FONT SIZE=2>Oct 28 14:34:18 swlab99 kernel: mtl_log_set: layer 'print', info ''</FONT>
<BR><FONT SIZE=2>Oct 28 14:34:18 swlab99 kernel:</FONT>
<BR><FONT SIZE=2>Oct 28 14:34:18 swlab99 kernel:  Layers and severities for print</FONT>
<BR><FONT SIZE=2>Oct 28 14:34:18 swlab99 kernel:  -------------------------------</FONT>
<BR><FONT SIZE=2>Oct 28 14:34:18 swlab99 kernel:  Layer - "THH":</FONT>
<BR><FONT SIZE=2>Oct 28 14:34:18 swlab99 kernel:      Name="trace", severities=""</FONT>
<BR><FONT SIZE=2>Oct 28 14:34:18 swlab99 kernel:      Name="debug", severities=""</FONT>
<BR><FONT SIZE=2>Oct 28 14:34:18 swlab99 kernel:      Name="error", severities="1234"</FONT>
</P>

<P><FONT SIZE=2>By default error messages allays printed into the /var/log/messages file so if vstat is not working</FONT>
<BR><FONT SIZE=2> look for some error message in this file.</FONT>
</P>

<P><FONT SIZE=2>In case of user level errors then in order to see them you need to set:</FONT>
<BR><FONT SIZE=2>export MTL_LOG="error:"</FONT>
</P>

<P><FONT SIZE=2>Tziporet</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Ronald G. Minnich [<A HREF="mailto:rminnich@lanl.gov">mailto:rminnich@lanl.gov</A>]</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, October 27, 2004 9:23 PM</FONT>
<BR><FONT SIZE=2>To: openib-general@openib.org</FONT>
<BR><FONT SIZE=2>Subject: [openib-general] logset</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>I'm unclear on how to use this.</FONT>
</P>

<P><FONT SIZE=2>logset print gives back nothing. </FONT>
</P>

<P><FONT SIZE=2>logset debug 8 gives back nothing.</FONT>
</P>

<P><FONT SIZE=2>what is this thing? </FONT>
</P>

<P><FONT SIZE=2>how do I get trace logging of something like vstat, given that vstat is </FONT>
<BR><FONT SIZE=2>not working on my machine?</FONT>
</P>

<P><FONT SIZE=2>thanks</FONT>
</P>

<P><FONT SIZE=2>ron</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>openib-general mailing list</FONT>
<BR><FONT SIZE=2>openib-general@openib.org</FONT>
<BR><FONT SIZE=2><A HREF="http://openib.org/mailman/listinfo/openib-general" TARGET="_blank">http://openib.org/mailman/listinfo/openib-general</A></FONT>
</P>

<P><FONT SIZE=2>To unsubscribe, please visit <A HREF="http://openib.org/mailman/listinfo/openib-general" TARGET="_blank">http://openib.org/mailman/listinfo/openib-general</A></FONT>
</P>

</BODY>
</HTML>