5bb366513b
Nowadays, we use standard command-line tools like vim to edit init configurations dynamically, which alleviates the need for a custom CLI. The CLI-monitor component was too limited for use cases like Sculpt anyway. The patch also removes the ancient (and untested for long time) terminal_mux.run script, which used to be the only remaining user of the CLI monitor. Issue #3512 |
||
---|---|---|
.. | ||
main.cc | ||
README | ||
session.h | ||
target.mk |
LOG server that writes log messages onto a file system. Log files are creating in a directory tree formed from session labels. As an example the session label "init -> nitpicker" would create a log file at "init/nitpicker.log". The option to truncate files at the start of each LOG session is available through session policy, as well the option to merge the logs of any session matching a given policy. When a merged policy label contains a trailing "->", the log filename takes the name of the next label element. When a default-policy node specifies a merge, all sessions are merged into the file "/log". :Example configuration: ! <start name="log_file"> ! <resource name="RAM" quantum="1M"/> ! <provides><service name="LOG"/></provides> ! <config> ! <policy label_prefix="nic_drv" truncate="no"/> ! <policy label_prefix="runtime -> " merge="yes"/> ! <default-policy truncate="yes"/> ! </config> ! </start>