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: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Tuesday, January 31, 2012 4:57 AM To: [email protected]; [email protected] Cc: [email protected] 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 [email protected] http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
