Eina log: Enable backtrace only for CRI and ERR by default

Desktop / Enlightenment / EFL Core Libraries - Jean-Philippe Andre [samsung.com] - 12 May 2015 05:06 UTC

Using EINA_LOG_LEVEL=4 for standard debugging has now become absolutely horrible (and slow!). Backtraces may make sense in case of ERR and CRI messages, but are just pollution for other levels.

WRN could be argued over but the old env variable is still there so just use it if you want backtraces:

$ export EINA_LOG_BACKTRACE=2

65b53f4 Eina log: Enable backtrace only for CRI and ERR by default
src/lib/eina/eina_log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: git.enlightenment.org


  • Share