<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><blockquote type="cite"><div dir="ltr">I personally find debug mode too verbose already and think we should reduce the amount of information produced by debug mode.</div></blockquote></div><div dir="ltr"><br></div><div dir="ltr">I don’t know enough about Tcl logging but in Python you can have separate, hierarchical loggers for each major modules in your system and then activate and set the logging level for each of them.</div><div dir="ltr"><br></div><div dir="ltr">It means you could have a top logger (« macports ») set to INFO…</div><div dir="ltr"><br></div><div dir="ltr"><blockquote type="cite"><div dir="ltr"><blockquote type="cite">That would allow us to optionally output more diagnostic info in various areas, such as our portgroups,</blockquote></div></blockquote><br></div><div dir="ltr">…and several module loggers (« macports.portgroups », « macports.portgroups.compiler_blacklist »,…) set to DEBUG.</div><div dir="ltr"><br></div><div dir="ltr">The advantage is that you keep a manageable, standard set of logging levels and have a small set of functional module loggers.</div><div dir="ltr"><br></div><div dir="ltr"><font color="#5856d6"><span style="caret-color: rgb(88, 86, 214);">G.</span></font></div></body></html>