On Aug 20, 2013, at 12:51 PM, Igor Galić <i.ga...@brainsware.org> wrote:
[snip]
>> 
>> -    if (is_debug_tag_set("threads")) {
>> -      fprintf(stderr, "# net threads Auto config - enabled\n");
>> -      fprintf(stderr, "# autoconfig scale: %f\n", autoconfig_scale);
>> -      fprintf(stderr, "# scaled number of net threads: %d\n",
>> num_of_threads_tmp);
> 
> in digging through logging code of the plugins code I've sometimes
> seen sometimes seen fprintf(stderr,
> but I perfectly ignorant of its existence in our core code..
> 
> Could someone explain what this does? (it prints stuff to the redirected
> stderr, yes, but) Why it's there? 
> Why we have 3+ different ways of logging?

My guess is that at some point this code was executed before logging was 
initialized.

J

Reply via email to