Changeset 10b3683


Ignore:
Timestamp:
2019-05-23T11:06:37Z (6 years ago)
Author:
dx <dx@…>
Branches:
master
Children:
8a220893
Parents:
365dd59
git-author:
Dennis Kaarsemaker <dennis@…> (28-02-16 20:30:23)
git-committer:
dx <dx@…> (23-05-19 11:06:37)
Message:

Don't make early warnings go nowhere

between log_init and the existing log_link calls, all errors and
warnings would go nowhere. Let's show them on the console.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r365dd59 r10b3683  
    8080
    8181        log_init();
     82        /* Catch early errors */
     83        log_link(LOGLVL_ERROR, LOGOUTPUT_CONSOLE);
     84        log_link(LOGLVL_WARNING, LOGOUTPUT_CONSOLE);
    8285
    8386        global.conf_file = g_strdup(CONF_FILE_DEF);
Note: See TracChangeset for help on using the changeset viewer.