Change-Id: Ia01d41469b14895c0de5435a30bb290610ba9c47
NELEMS(g_backend.logger_devices[buf_id]) - 1);
}
} else if (!strcmp(backend, "zero-copy")) {
- ret = -ENOTSUP;
+ /* HACK: This essentially skips reading the most important configuration fields
+ * (buffer reading and persistent logs) while ensuring the variables are initialized.
+ * This will result in daemon quitting. Hopefully we will either reenable some of these
+ * in the future or at least make it exit more gracefully (TODO), but for now this is ok. */
+ g_backend.use_logger_by_default = false;
+ data->logfile_configs = NULL;
goto end;
} else {
ret = -ENOENT;