[vbox-dev] ahciLog messages

Klaus Espenlaub klaus.espenlaub at oracle.com
Mon Jul 15 02:01:23 PDT 2013

Hi Luigi,

On 11.07.2013 16:27, Luigi De Simone wrote:
> Hi there, i need to log every message involved in a SATA/AHCI transfer.
> I have seen that ahciLog() function is used to log what i need (that is,
> Log() function). How can i activate this log message in a my specified
> file? Thanks for helping.

You need a debug build (or at least a release build with LOG_ENABLED=1) 
to activate these debug log lines. Having all debug log statements 
compiled in would cause major code bloat and thus performance loss, even 
if the logging is not active.

Only LogRel() is compiled in debug builds, and by default everything is 
logged (with some size constraints). This should make it clear why it 
usually makes no sense trying to tweak the logging settings of a release 

The general instructions for how to operate the logging machinery are at 


More information about the vbox-dev mailing list