Mi & save/load: add option to indent or not on config writer creation
[lttng-tools.git] / src / common / mi-lttng.c
index a636c71b20b4b0b30fc7b4fec40839de3fc00d0b..83df149f2bc5c2eb9583ed22854bea70350c1cff 100644 (file)
@@ -305,6 +305,8 @@ const char *mi_lttng_domaintype_string(enum lttng_domain_type value)
                return config_domain_type_ust;
        case LTTNG_DOMAIN_JUL:
                return config_domain_type_jul;
+       case LTTNG_DOMAIN_LOG4J:
+               return config_domain_type_log4j;
        default:
                /* Should not have an unknown domain */
                assert(0);
@@ -352,7 +354,7 @@ struct mi_writer *mi_lttng_writer_create(int fd_output, int mi_output_type)
                goto end;
        }
        if (mi_output_type == LTTNG_MI_XML) {
-               mi_writer->writer = config_writer_create(fd_output);
+               mi_writer->writer = config_writer_create(fd_output, 0);
                if (!mi_writer->writer) {
                        goto err_destroy;
                }
This page took 0.025009 seconds and 4 git commands to generate.