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