Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2011 11:22:22 -0700
From:      Adarsh Joshi <adarsh.joshi@qlogic.com>
To:        "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>
Subject:   Is it possible to change the log level of a device driver at runtime?
Message-ID:  <5E4F49720D0BAD499EE1F01232234BA873C6F1A523@AVEXMB1.qlogic.org>

next in thread | raw e-mail | index | archive | help
Hi,

Is it possible to change the log level of a device driver at runtime?

I am trying to understand a network based device driver. It already has a n=
umber of print messages which are only printed if the debug flag is 1. Is i=
t possible to toggle the debug flag when the driver is loaded, at runtime w=
ith some command?

A detailed explanation on how to go about this would be very helpful.

thanks
Adarsh


________________________________
This message and any attached documents contain information from QLogic Cor=
poration or its wholly-owned subsidiaries that may be confidential. If you =
are not the intended recipient, you may not read, copy, distribute, or use =
this information. If you have received this transmission in error, please n=
otify the sender immediately by reply e-mail and then delete this message.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5E4F49720D0BAD499EE1F01232234BA873C6F1A523>