chiark / gitweb /
stest: Use new `prefix' option.
[secnet.git] / stest / common.tcl
index e490ee530e200b62652f18cb7d36171b0a0ca013..5952e9107bc6fbc6eb43a8a4302d7e0dd33a7657 100644 (file)
@@ -80,10 +80,13 @@ exec cat
        local-key rsa-private(\"$builddir/test-example/$site.key\");
 "
     append cfg $extra($site)
-    append cfg {
+    append cfg "
        log logfile {
-           class "info","notice","warning","error","security","fatal";
+           prefix \"$site\";
+           class \"info\",\"notice\",\"warning\",\"error\",\"security\",\"fatal\";
        };
+    "
+    append cfg {
        system {
        };
        resolver adns {