5.3.4.10
5 Management and Monitoring
5.1 generic-spy
Returns a
spawn action that, when executed, creates a process
with a
#:subscriber endpoint listening for every
message. Each
EndpointEvent received by the endpoint is
printed to the current output port. Using this process gives a crude
trace of activity within a VM:
presence-events and
absence-events (of
#:publishers) are logged, as is
-each
'publisher message sent to the VM’s network.
5.2 logging (MATRIX_LOG)
Set the MATRIX_LOG environment variable to "debug", "info",
+each 'publisher message sent to the VM’s network.
5.2 logging (MARKETPLACE_LOG)
Set the
MARKETPLACE_LOG environment variable to "debug", "info",
"warning", "error" or "fatal" (i.e. any of Racket’s
log-level?s) to enable output of log messages at that level
-and higher.
If MATRIX_LOG is not defined in the environment, no log
-output will be produced.
(matrix-log level format-str arg ...)
|
|
level | | = | | expr | | | | | | format-str | | = | | expr | | | | | | arg | | = | | expr |
|
If MARKETPLACE_LOG is not defined in the environment, no log
+output will be produced.
(marketplace-log level format-str arg ...)
|
|
level | | = | | expr | | | | | | format-str | | = | | expr | | | | | | arg | | = | | expr |
|
The root logger for marketplace logging.
5.3 debugger (experimental)
Translates a
spawn action to another spawn action which wraps
+format string for use with
format.
The root logger for marketplace logging.
5.3 debugger (experimental)
Translates a
spawn action to another spawn action which wraps
the to-be-spawned process in a debugging interface. Executing the
resulting action will not only create a process in the executing VM,
but will also open a debugger GUI.
N.B.: The debugger is experimental and likely to change quite quickly
diff --git a/high-level-interface.html b/high-level-interface.html
index c2e1c21..83bb07c 100644
--- a/high-level-interface.html
+++ b/high-level-interface.html
@@ -132,7 +132,7 @@ should be an expression yielding a
#:pid is supplied, the associated identifier is bound to
the child process’s PID in both
boot-expr and the parent’s
k-expr.
Any supplied #:debug-name will be used in VM debug output.
-See also logging (MATRIX_LOG).
If #:parent is supplied, the associated k-expr will
+See also logging (MARKETPLACE_LOG).
If #:parent is supplied, the associated k-expr will
run in the parent process after the child process has been created. If
the parent-state-pattern is also supplied, then
k-expr must return a Transition; otherwise, it must
diff --git a/index.html b/index.html
index 424ba0a..a4ca6ed 100644
--- a/index.html
+++ b/index.html
@@ -34,4 +34,4 @@ location of mutable state, failure detection and recovery, access
control, I/O and user interface, debugging and profiling.
Marketplace addresses these concerns with a small set of primitives
chosen to make network programming in-the-small as flexible, scalable,
manageable and securable as network programming in-the-large—and
-vice versa.
\ No newline at end of file
+vice versa.