[Development] (long) thoughts on categorized logging (qLog)

Thiago Macieira thiago.macieira at intel.com
Thu Feb 23 15:10:08 CET 2012


On quarta-feira, 22 de fevereiro de 2012 16.37.20, Lincoln Ramsay wrote:
> app's default). If the config file exists, the C++ API has no effect. 
> QFileWatcher will be used to monitor the config file so that categories 
> can be turned on/off while the program is running by updating the file.

Probably easier to stat the file every Nth output.

This avoids the thundering herd effect of all applications watching it suddenly 
deciding to re-parse it.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120223/ff03b161/attachment.sig>


More information about the Development mailing list