APUE Learning Example Source Code
guowenxue
2019-06-26 5487e4dfbcc540cf1d7f5b84bbee7bc3bef3fe67
update pj1_mqttd conf.c default logger file to /tmp/mqttd.log
1 files modified
2 ■■■ changed files
pj1_mqttd/etc/conf.c 2 ●●● patch | view | raw | blame | history
pj1_mqttd/etc/conf.c
@@ -27,7 +27,7 @@
    { 
        /* logger settings */
        strncpy(ctx->logfile, DBG_LOG_FILE, sizeof(ctx->logfile));
        strncpy(ctx->logfile, "/tmp/mqttd.log", sizeof(ctx->logfile));
        ctx->loglevel = LOG_LEVEL_DEBUG;
        ctx->logsize = 1024;