Wed, 19 Jul 2023 20:31:01 +0200
add logfile sync config
dav/scfg.c | file | annotate | diff | comparison | revisions | |
dav/scfg.h | file | annotate | diff | comparison | revisions |
--- a/dav/scfg.c Sun Jul 16 13:52:02 2023 +0200 +++ b/dav/scfg.c Wed Jul 19 20:31:01 2023 +0200 @@ -429,6 +429,7 @@ char *collection = NULL; char *repository = NULL; char *database = NULL; + char *logfile = NULL; TagConfig *tagconfig = NULL; Versioning *versioning = NULL; CxList *include = cxLinkedListCreateSimple(sizeof(regex_t)); @@ -479,6 +480,8 @@ } } else if(xstreq(node->name, "database")) { database = value; + } else if(xstreq(node->name, "logfile")) { + logfile = value; } else if(xstreq(node->name, "tagconfig")) { tagconfig = parse_tagconfig(node); } else if(xstreq(node->name, "splitconfig")) { @@ -624,6 +627,7 @@ dir->collection = collection ? strdup(collection) : NULL; dir->repository = strdup(repository); dir->database = strdup(database); + dir->logfile = strdup(logfile); dir->tagconfig = tagconfig; dir->versioning = versioning; dir->max_retry = max_retry;