[haiku-development] Re: Adding a test_media_server

  • From: Dario Casalinuovo <b.vitruvio@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 7 May 2016 19:45:25 +0200

Hi,

On Fri, May 6, 2016 at 1:19 PM, PulkoMandy <pulkomandy@xxxxxxxxx> wrote:



I think we need a media_kit debugging console in the Media preflet, maybe
initially it can be enabled only in debugging mode, it would be useful
anyway in future to provide a light level of logging by default.


What's wrong with using the syslog or stdout of the media server for that?


I'm considering different options to implement it.



We implement some extensions to the UNIX syslog API (we inherited those
from BeOS IIRC), which would allow a nice "logging console" app to gather
and filter the messages. This whould be a more generic way to log events
and would benefit to all system components.


Naming it a debugging console might have been confusing but actually I'm
not thinking of something to be used to read the media_kit calls trace, at
least not in the usual case. Ideally what we need is something showing up
logs and notices about the overall system status, something that will be
useful to devs as well as users. I don't plan to gather informations for a
single team, but they will come from any node running.

Other related posts: