> -----Original Message----- > From: interest-bounces+kai.koehne=digia....@qt-project.org > [mailto:interest-bounces+kai.koehne=digia....@qt-project.org] On Behalf > Of Francesco Lamonica > Sent: Friday, September 27, 2013 9:14 AM > To: interest > Subject: [Interest] logrotating qDebug > > Hi all, > i am using logrotate on a file that is populated by qDebug() statements of my > app (that does not get restarted). > Sometimes ( i have been unable to find the behaviour's causes so far ) the > logorotating does not happen and what i get is what seems to be a binary > file. > Any ideas what might be happening?
I don't have experience with logrotate ... anyhow, how are you generating the log file? Have you written your own Qt message handler, or are you just forwarding e.g. the stdout to a file? If you have written your own message handler, keep in mind that it has to be reentrant ... that is, it might be called concurrently from different threads. Regards Kai _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest