I also think this is helpful. Should we prepend some special characters to each syslog line in the file, so that we can easily split telemetry from log messages later?
On Mon, Apr 4, 2022, at 6:54 PM, Ricardo Signes wrote: > Cyrus devs, > > Lately I've found myself more often wishing I could turn on debug logging in > more limited scopes. This weekend, I got thinking that I mind find this > useful: > > When the current connection is having telemetry recorded to file F, all calls > to xsyslog are also written to the file F.log, including debug level calls. > This could allow a clearer picture of the decision-making process inside of > Cyrus for any given request. > > This is a better fit for single-request HTTP connections than for IMAP. We > could consider better or alternate telemetry formats to handle these cases > more perfectly. Still "log protocol along with internal syslog" seems like a > good and attainable goal. > > Thoughts? > > -- > rjbs > > > *Cyrus <https://cyrus.topicbox.com/latest>* / Devel / see discussions > <https://cyrus.topicbox.com/groups/devel> + participants > <https://cyrus.topicbox.com/groups/devel/members> + delivery options > <https://cyrus.topicbox.com/groups/devel/subscription> Permalink > <https://cyrus.topicbox.com/groups/devel/T5d5b482c761c4e65-Mcca891cd7d754577e5759ddc> ------------------------------------------ Cyrus: Devel Permalink: https://cyrus.topicbox.com/groups/devel/T5d5b482c761c4e65-Me1b90c3600d0f5ce248d26f8 Delivery options: https://cyrus.topicbox.com/groups/devel/subscription