Very good questions. 2018-05-26 10:00 GMT+03:00 Guillermo Polito <guillermopolito@gmail.com>:
Hi all,
Just to state my position about the integration of Beacon. My main concern now is that I do not want to it become Glamour. I do not want to integrate a new tool that will be half integrated and not maintained because "the future is elsewhere".
If people would like to introduce Beacon, I'd like to have at least the following questions answered: - What tools/core libraries of Pharo should be rewritten using Beacon?
We will need to replace transcript users with Beacon signals. In simplest cases it would be: StringSignal emit: aString But we should try use objects instead of strings. And we need to decide what to do with #logCr.
- And which ones do not?
Logging inside bootstrapped kernel will stay independent from Beacon.
- **Who** is going to take care for those integrations/rewritings? - How will this delay (even more) the release of Pharo 7?
We can just include this tool without cleanup. So no delay. Idea to finally have standard logging system extendable by third party loggers (backends). So when users will ask how to log the answer will be the Beacon and a link to the place with existing loggers.
Then, more on the technical side. Beacon uses *global* announcers as its log/event delivery technique. It gives people an easy way to log a full stack (with all objects it references). While all this is nice, it may generate memory leaks, people may need to have a "Logger manager" to see connected loggers and detect problems...
It is simple inspector on Beacon instance. We can add world menu entry to open it. It is based on Announcer inspector. So any improvements will improve announcer in general.
- What are the tools/techniques that we have to develop to manage connected loggers/appenders efficiently? - What are the tools/techniques that we have to develop to detect and avoid memory leaks more efficiently? - **Who** is going to implement them?
If I put this side by side with the versionning questions above, this ones have more weight to me...
Cheers, Guille