|
From: | François Grisez |
Subject: | Re: Fix for event logger |
Date: | Thu, 16 Apr 2020 17:37:36 +0200 |
Hi Björn,
Your patch has been pushed in beta branch for Flexisip 2.0.0.
https://gitlab.linphone.org/BC/public/flexisip/commit/d4dca753a3ea2dd17f14ed46cba5d31812b52d88
François Grisez Software Engineer Belledonne Communications
> Dear flexisip developers, > > please find below a minor patch for the event logger. In my setup, the logs > were written without line feeds, and the below patch fixes the issue. > > Best regards, > Björn > > > ========== > diff --git a/src/eventlogs/eventlogs.cc b/src/eventlogs/eventlogs.cc > index 968e41f..2ce4793 100644 > --- a/src/eventlogs/eventlogs.cc > +++ b/src/eventlogs/eventlogs.cc > @@ -315,7 +315,8 @@ void > FilesystemEventLogWriter::writeRegistrationLog(const std::shared_ptr<Regist > if (rlog->mContacts) > msg << " (" << rlog->mContacts->m_url << ") "; > if (rlog->mUA) > - msg << rlog->mUA << endl; > + msg << rlog->mUA; > + msg << endl; > > if (::write(fd, msg.str().c_str(), msg.str().size()) == -1) { > LOGE("Fail to write registration log: %s", strerror(errno));
|
signature.asc
Description: This is a digitally signed message part.
[Prev in Thread] | Current Thread | [Next in Thread] |