Re: [PATCH 1/1] logging: change logging format to drop "[file:line] func():" part

2016-03-01 Thread Thomas Haller
On Thu, 2016-02-25 at 17:21 +0100, Thomas Haller wrote: > Choose a new logging format. > merged as https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=24582b65e1c9f0a793f2640878b8d80e2a6e805a and truncated timestamps as Beniamino suggested. https://cgit.freedesktop.org/Network

Re: [PATCH 1/1] logging: change logging format to drop "[file:line] func():" part

2016-02-26 Thread Colin Walters
On Thu, Feb 25, 2016, at 11:21 AM, Thomas Haller wrote: > Choose a new logging format. > > - the logging format must not be configurable and it must be the > same for all backends. It is neat that journal supports additional > fields, but an average user still posts the output of plain > j

Re: [PATCH 1/1] logging: change logging format to drop "[file:line] func():" part

2016-02-26 Thread Thomas Haller
On Thu, 2016-02-25 at 21:53 +0100, Beniamino Galvani wrote: > On Thu, Feb 25, 2016 at 05:21:29PM +0100, Thomas Haller wrote: > > - the timestamp: I find it useful to see how much time between two > >   events passed. The timestamp printed by syslog doesn't have > > sufficient > >   granularity, and

Re: [PATCH 1/1] logging: change logging format to drop "[file:line] func():" part

2016-02-25 Thread Beniamino Galvani
On Thu, Feb 25, 2016 at 05:21:29PM +0100, Thomas Haller wrote: > Choose a new logging format. > > - the logging format must not be configurable and it must be the > same for all backends. It is neat that journal supports additional > fields, but an average user still posts the output of plain

[PATCH 1/1] logging: change logging format to drop "[file:line] func():" part

2016-02-25 Thread Thomas Haller
Choose a new logging format. - the logging format must not be configurable and it must be the same for all backends. It is neat that journal supports additional fields, but an average user still posts the output of plain journalctl, without "--output verbose" (which would also be hard to r