[mythtv-commits] mythtv branch devel/logging updated by danielk. v0.27-pre2-789-gcbb4dfc

Git Repo Owner noreply at mythtv.org
Mon Apr 29 02:50:57 UTC 2013


The branch, devel/logging has been updated on the
mythtv repository by gitolite user danielk.
       via  cbb4dfc446223c9c7f2b6c0eef16bb86836d060e (commit)
       via  6c781e2f593fc54e85aaa29c3acec66c54514aa0 (commit)
       via  3d1a4c80b3aa0149b259832cc491e87d25394331 (commit)
      from  2965966105d2a53f083edbf696f0d077fd19649e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cbb4dfc446223c9c7f2b6c0eef16bb86836d060e
Author:    Daniel Kristjansson <danielk at cuymedia.net> at Sun, 28 Apr 2013 22:31:46 -0400
Committer: Daniel Kristjansson <danielk at cuymedia.net> at Sun, 28 Apr 2013 22:32:05 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=cbb4dfc446223c9c7f2b6c0eef16bb86836d060e

Add test for logging after thread shutdown.



commit 6c781e2f593fc54e85aaa29c3acec66c54514aa0
Author:    Daniel Kristjansson <danielk at cuymedia.net> at Sun, 28 Apr 2013 22:23:13 -0400
Committer: Daniel Kristjansson <danielk at cuymedia.net> at Sun, 28 Apr 2013 22:23:13 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=6c781e2f593fc54e85aaa29c3acec66c54514aa0

Add feedback and hard threshold to logging.
The feedback prevents runaway logging from overwhelming the logger.
The hard threshold prevents blocking in the logging thread triggering the OOM killer.



commit 3d1a4c80b3aa0149b259832cc491e87d25394331
Author:    Daniel Kristjansson <danielk at cuymedia.net> at Sun, 28 Apr 2013 21:29:22 -0400
Committer: Daniel Kristjansson <danielk at cuymedia.net> at Sun, 28 Apr 2013 21:29:22 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=3d1a4c80b3aa0149b259832cc491e87d25394331

Allow unit tests to directly peek at length of LogDeque message queue.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/TODO-logging.txt                            |   12 ++--
 mythtv/libs/libmythbase/logging/logdeque.cpp       |   31 ++++++++++++-
 mythtv/libs/libmythbase/logging/logdeque.h         |   10 ++++
 .../test/test_mythlogging/test_mythloggingbase.h   |   31 +++---------
 .../test_mythlogging_threaded.h                    |   50 ++++++++++++++++++++
 5 files changed, 103 insertions(+), 31 deletions(-)

-- 



More information about the mythtv-commits mailing list