[PATCH 1/2] log: new --log-func-loc option to enable function location in logs
Colin Helliwell
colin.helliwell at ln-systems.com
Thu May 18 12:22:41 UTC 2017
> On 18 May 2017 at 12:51 Thomas Haller <thaller at redhat.com> wrote:
>
> On Thu, 2017-05-18 at 12:43 +0200, Aleksander Morgado wrote:
>
> > The --debug output is a bit annoying right now because it includes
> > the
> > function location information by default. This information is most of
> > the times not very useful, so just make it optional under a new
> > command line argument for the daemon.
>
> Hi,
>
> For NetworkManager you cannot configure the bits that are logged. The
> reasoning is, that a user reporting a bug usually wouldn't tweak the
> logging format. Imagine you have to ask the reporter for enabling debug
> level, turn on time-stamping, file-location, etc.
>
Personally I do find the location useful (file/function) *but*, to make logfiles a bit easier to digest on a VT100 [joking...], I mod the source so that the file path is relative rather than absolute - just makes the log lines a bit/lot shorter.
Don't know if that sort of compromise would be of value?
More information about the ModemManager-devel
mailing list