Eina log: Enable backtrace only for CRI and ERR by default
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 12 May 2015 10:00:57 +0000 (19:00 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 12 May 2015 10:06:00 +0000 (19:06 +0900)
commit65b53f4a3737196a9caf100e06ccebfa0aed8e87
tree78b5485168d4441046e0ef7aa9586ed357834aec
parent55eb75ad86d01af7840b8f9080670d34eb884749
Eina log: Enable backtrace only for CRI and ERR by default

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
src/lib/eina/eina_log.c