[Development] QLog ( Work on qDebug and friends)

Keith Gardner kgardner at zebraimaging.com
Tue Jan 31 15:39:33 CET 2012


Couldn't you have the log fill a QIODevice (file or socket) and make a QLogFile class that would perform the log file rotation?

-----Original Message-----
From: development-bounces+kgardner=zebraimaging.com at qt-project.org [mailto:development-bounces+kgardner=zebraimaging.com at qt-project.org] On Behalf Of shane.kearns at accenture.com
Sent: Tuesday, January 31, 2012 4:57 AM
To: pisoengracia at gmail.com; wolfgang.beck at nokia.com
Cc: development at qt-project.org
Subject: Re: [Development] QLog ( Work on qDebug and friends)

>
> +1 from me
>
> - Crazy idea : allow logging to a socket ? ( remote log/debug )
> - More than one logging file ? One file for every category / group of 
> categories
> - Log File rotation
>
> Just my 2 cents.
>

Not that crazy an idea - I normally use USB to catch the live debug log from phones.
But this is done on the system level rather than Qt.
The problem is you can't use QTcpSocket to do it, because QtNetwork might itself be printing QDebug messages.


________________________________
Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list