On Mon, 27 Aug 2018 16:20:41 +0100
Daniel Stone <dan...@fooishbar.org> wrote:

> Hi Pekka,
> 
> On Fri, 24 Aug 2018 at 09:12, Pekka Paalanen <ppaala...@gmail.com> wrote:
> > On another matter, I've been wondering if storing the debug scopes in
> > weston_compositor is a good thing. We have the logger initialized
> > earlier, and quite a lot might happen before weston_compositor is
> > created. Also the idea of a circular buffer for after-the-fact
> > reporting might benefit from having debug scopes set up early, and the
> > command line argument to enable debug scopes from launch.  
> 
> Yeah, I think we can definitely rework this to push the scope of the
> debug stuff up. As noted in
> https://gitlab.freedesktop.org/wayland/weston/issues/133 I think it
> would be really good to have all this information as early as
> possible, and maybe even outliving the compositor. From a libweston
> API point of view, having the same API for general logging as we do
> for debug makes a huge amount of sense.
> 
> Given how invasive that would be, my suggestion would be that we track
> that as a follow-up issue. Once we've got all the functionality in
> place we can see for sure what the best API/structure would be.

Agreed.


Thanks,
pq

Attachment: pgpAW3r4ye1Z6.pgp
Description: OpenPGP digital signature

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to