[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Logs
> On 16 Oct 2015, at 11:18, Thomas Gazagnaire <thomas@xxxxxxxxxxxxxx> wrote: > >> that could be passed around libraries as an argument, with the level stuff >> added by a higher level logger/monitor? > > How do you decide what to filter or not? Maybe a notion of section (that > users can turn off and on) could be more useful? > > I think xapi used to allow users to specify which section to enable either by > using an environment variable (ie. something like XAPILOGS=* or > XAPILOGS="foo:bar" to enable the "foo" and "bar" section) or a configuration > file. That was quite useful when debugging. Yes, the source of the log is more valuable, so the module it came from rather than a global log level is more useful for aggregation. > But maybe this is already too complex for a simple log library... There's nothing simple about logging :-) -anil _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |