feat: add userspace system logging, rename klog to syslog, rename relevant syscalls and API functions
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ usable diagnostics once the desktop is up**, pending the unified syslog.
|
||||
Worth understanding, because it catches out anything written as a daemon:
|
||||
`montauk::print` is `SYS_PRINT`, which writes the kernel *terminal*, not the
|
||||
kernel *log*. Only in-kernel `KernelLogStream` writes raise `g_kernelLogDepth`,
|
||||
and only those append to the ring buffer `SYS_KLOG` reads -- so daemon output
|
||||
and only those append to the ring buffer `SYS_LOG` reads -- so daemon output
|
||||
never shows up in `klog`. On top of that, `Sys_Print` returns early once
|
||||
`g_suppressKernelLog` is set, which the desktop does at startup, so the output is
|
||||
discarded outright from then on. `init` spawns services with `spawn` rather than
|
||||
|
||||
Reference in New Issue
Block a user