[Interest] logrotating qDebug

Francesco Lamonica alienpenguin at gmail.com
Fri Sep 27 09:36:51 CEST 2013


Hi Kai, no, at the moment i am just redirecting process output


On Fri, Sep 27, 2013 at 9:34 AM, Koehne Kai <Kai.Koehne at digia.com> wrote:

>
> > -----Original Message-----
> > From: interest-bounces+kai.koehne=digia.com at qt-project.org
> > [mailto:interest-bounces+kai.koehne=digia.com at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130927/19cf1896/attachment.html>


More information about the Interest mailing list