APUE Learning Example Source Code
guowenxue
2019-06-26 a2ba406527c465b49256b2f125ea52e9bc9530bc
update mqttd conf
1 files modified
4 ■■■■ changed files
pj1_mqttd/etc/conf.c 4 ●●●● patch | view | raw | blame | history
pj1_mqttd/etc/conf.c
@@ -28,8 +28,8 @@
        strncpy(ctx->id, "\"x86host02\"", sizeof(ctx->id));
        /* logger settings */
        //strncpy(ctx->logfile, "/tmp/mqttd.log", sizeof(ctx->logfile));
        strncpy(ctx->logfile, DBG_LOG_FILE, sizeof(ctx->logfile));
        strncpy(ctx->logfile, "/tmp/mqttd.log", sizeof(ctx->logfile));
        //strncpy(ctx->logfile, DBG_LOG_FILE, sizeof(ctx->logfile));
        ctx->loglevel = LOG_LEVEL_DEBUG;
        ctx->logsize = 1024;