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....@qt-project.org 
[mailto:development-bounces+kgardner=zebraimaging....@qt-project.org] On Behalf 
Of shane.kea...@accenture.com
Sent: Tuesday, January 31, 2012 4:57 AM
To: pisoengra...@gmail.com; wolfgang.b...@nokia.com
Cc: development@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@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to