[PATCH 1/2] log: new --log-func-loc option to enable function location in logs

Aleksander Morgado aleksander at aleksander.es
Mon May 29 11:49:57 UTC 2017


On 22/05/17 10:14, Aleksander Morgado wrote:
> So I'm going to suggest we skip this patch and we just completely
> remove the function location in the default stdout/syslog logging,
> unless someone has a strong opinion against it.

I've pushed a patch to remove by default the func loc information.

BUT the developers wanting to follow the method calls can still enable it passing custom CFLAGS during configure, e.g.:

  $ ./configure --prefix=/usr CFLAGS="-DMM_LOG_FUNC_LOC"

This solution is hopefully the most convenient for everyone.

Cheers!

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list