genode/repos/os/src/server/fs_log
Emery Hemingway d0ebdfba4b server/fs_log: merge labels using 'label_prefix'
Policies are no longer partially matched against 'label' attributes.
New test at run/fs_log.

Issue #1766
2015-11-29 18:17:09 +01:00
..
README server/fs_log: merge labels using 'label_prefix' 2015-11-29 18:17:09 +01:00
log_file.h Fs_log: new truncate behavior 2015-10-09 16:36:30 +02:00
main.cc server/fs_log: merge labels using 'label_prefix' 2015-11-29 18:17:09 +01:00
session.h Fs_log: new truncate behavior 2015-10-09 16:36:30 +02:00
target.mk fs_log: new log file server using native FS sessions 2015-09-30 12:20:36 +02:00

README

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.

:Example configuration:
! <start name="log_file">
!   <resource name="RAM" quantum="1M"/>
!   <provides><service name="LOG"/></provides>
!   <config>
!     <policy label="nic_drv" truncate="no"/>
!     <policy label_prefix="cli_monitor -> " merge="yes"/>
!     <policy truncate="yes"/>
!   </config>
! </start>