Re: [E-devel] eina_log and threads

2016-10-29 Thread Gustavo Sverzut Barbieri
yes, if it was started by systemd (ie: NOTIFY_SOCKET - https://git.enlightenment.org/core/efl.git/tree/src/lib/eina/eina_log.c#n1538) then it will send to journal. If you want to selectively send to journal or reformat just some message, see

Re: [E-devel] eina_log and threads

2016-10-29 Thread Davide Andreoli
2016-10-29 17:02 GMT+02:00 thomasg : > On Sat, Oct 29, 2016 at 4:41 PM, Felipe Magno de Almeida < > felipe.m.alme...@gmail.com> wrote: > > > On Sat, Oct 29, 2016 at 3:23 AM, Carsten Haitzler > > wrote: > > > On Sat, 29 Oct 2016 01:50:21 -0200 Gustavo

Re: [E-devel] eina_log and threads

2016-10-29 Thread thomasg
On Sat, Oct 29, 2016 at 4:41 PM, Felipe Magno de Almeida < felipe.m.alme...@gmail.com> wrote: > On Sat, Oct 29, 2016 at 3:23 AM, Carsten Haitzler > wrote: > > On Sat, 29 Oct 2016 01:50:21 -0200 Gustavo Sverzut Barbieri > > said: > > [snip] > > >>

Re: [E-devel] eina_log and threads

2016-10-29 Thread Felipe Magno de Almeida
On Sat, Oct 29, 2016 at 3:23 AM, Carsten Haitzler wrote: > On Sat, 29 Oct 2016 01:50:21 -0200 Gustavo Sverzut Barbieri > said: [snip] >> agreed, that's why it's nice to know if it was done in a thread or not. >> >> as for long lines, we already have

Re: [E-devel] eina_log and threads

2016-10-28 Thread The Rasterman
On Sat, 29 Oct 2016 01:50:21 -0200 Gustavo Sverzut Barbieri said: > On Sat, Oct 29, 2016 at 12:07 AM, Carsten Haitzler > wrote: > > On Fri, 28 Oct 2016 14:15:39 +0200 thomasg said: > > > >> On Fri, Oct 28, 2016 at 4:08 AM,

Re: [E-devel] eina_log and threads

2016-10-28 Thread Gustavo Sverzut Barbieri
On Sat, Oct 29, 2016 at 12:07 AM, Carsten Haitzler wrote: > On Fri, 28 Oct 2016 14:15:39 +0200 thomasg said: > >> On Fri, Oct 28, 2016 at 4:08 AM, Carsten Haitzler >> wrote: >> >> > On Thu, 27 Oct 2016 09:16:02 -0200 Gustavo

Re: [E-devel] eina_log and threads

2016-10-28 Thread The Rasterman
On Fri, 28 Oct 2016 14:15:39 +0200 thomasg said: > On Fri, Oct 28, 2016 at 4:08 AM, Carsten Haitzler > wrote: > > > On Thu, 27 Oct 2016 09:16:02 -0200 Gustavo Sverzut Barbieri > > said: > > > > > Hi all, > > > > > > eina_log has

Re: [E-devel] eina_log and threads

2016-10-28 Thread thomasg
On Fri, Oct 28, 2016 at 4:08 AM, Carsten Haitzler wrote: > On Thu, 27 Oct 2016 09:16:02 -0200 Gustavo Sverzut Barbieri > said: > > > Hi all, > > > > eina_log has a feature to print the thread that generated the log as > > in "[T:XX]" prefix, which

Re: [E-devel] eina_log and threads

2016-10-27 Thread The Rasterman
On Thu, 27 Oct 2016 09:16:02 -0200 Gustavo Sverzut Barbieri said: > Hi all, > > eina_log has a feature to print the thread that generated the log as > in "[T:XX]" prefix, which is handy during development or debug. > > But that is off by default and the only way to

Re: [E-devel] eina_log and threads

2016-10-27 Thread Jean Guyomarc'h
Hi, I like the env var method (1) very much. It will be much more convenient than recompiling everything, but I think it should be left disabled by default. I'm afraid logs would become a bit cryptic with the TID information. Best regards, Jean On Thu, Oct 27, 2016 at 1:16 PM, Gustavo Sverzut

[E-devel] eina_log and threads

2016-10-27 Thread Gustavo Sverzut Barbieri
Hi all, eina_log has a feature to print the thread that generated the log as in "[T:XX]" prefix, which is handy during development or debug. But that is off by default and the only way to enable is using eina_log_threads_enable() call. So: 1) could we make that an envvar to enable/disable