pradosoft / prado

Prado - Component Framework for PHP
Other
187 stars 70 forks source link

Logging needs to be cleaned up #982

Closed belisoful closed 1 year ago

belisoful commented 1 year ago

No one has really touched the Logger code since the start. As part of the forking, I have a utility for grabbing the log from the child fork and bringing it back into the parent. This requires a mergeLog function.

So I started looking at the whole Logger and comparing it to Yii.

While updating the logger, it needs profiling and a log flusher for long running processes.

belisoful commented 1 year ago

I'm reviewing the logger.... because. The TProcessHelper has an Application behavior for merging child process logs back into the main thread. mergeLogs is needed but the Logging needs so much more.

Interesting things...