Re: telemetry and syslog

2022-04-07 Thread David Lang
why not just log to syslog with the appropriate severity and let syslog split the logs as approrpiate? If it's a well formatted log message, syslog can look at the body of the message and parse that to find what part of the system the log is about and throw it away if not needed. David Lang

Re: telemetry and syslog

2022-04-05 Thread Bron Gondwana
On Wed, Apr 6, 2022, at 09:21, ellie timoney wrote: > On Tue, 5 Apr 2022, at 6:00 PM, Robert Stepanek wrote: >> 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? > > If we

Re: telemetry and syslog

2022-04-05 Thread ellie timoney
On Tue, 5 Apr 2022, at 6:00 PM, Robert Stepanek wrote: > 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? If we prefixed lines from xsyslog with '#' or some other common com

Re: telemetry and syslog

2022-04-05 Thread Robert Stepanek
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 tu

telemetry and syslog

2022-04-04 Thread Ricardo Signes
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,