summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--socklog/tty12/config6
-rwxr-xr-xsv/socklog-unix/log/run2
2 files changed, 7 insertions, 1 deletions
diff --git a/socklog/tty12/config b/socklog/tty12/config
new file mode 100644
index 0000000..5e634b0
--- /dev/null
+++ b/socklog/tty12/config
@@ -0,0 +1,6 @@
+-*
+# uncomment to output logs to tty12
+# (also change /etc/sv/socklog-unix/log/run)
+#e*
+#Eauth.*
+#Eauthpriv.*
diff --git a/sv/socklog-unix/log/run b/sv/socklog-unix/log/run
index 9a27970..8da81f8 100755
--- a/sv/socklog-unix/log/run
+++ b/sv/socklog-unix/log/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec svlogd -ttt /var/log/socklog/*
+exec svlogd -ttt /var/log/socklog/* #2>/dev/tty12