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>

index | next in thread | raw e-mail

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 number of print messages which are only printed if the debug flag is 1. Is it possible to toggle the debug flag when the driver is loaded, at runtime with 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 Corporation 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 notify the sender immediately by reply e-mail and then delete this message.


help

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