PageRenderTime 28ms CodeModel.GetById 23ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/lib/log/cluster.rc

http://github.com/tybor/Liberty
Unknown | 46 lines | 42 code | 4 blank | 0 comment | 0 complexity | fc8df6199a88a455ab0e30e5ab3fdace MD5 | raw file
 1cluster LOG
 2--
 3-- Logging framework.
 4--
 5-- Looks for a default configuration file named "log.rc" in the process's working directory.
 6--
 7-- Example of log.rc file:
 8--
 9-- --8<--------
10--
11-- log configuration
12--
13-- root MY_APP -- note that the names of the loggers are the names of the classes that use them.
14--
15-- output
16--    out_debug is file "/var/log/myapp-trace.log"
17--    out_events is file "/var/log/myapp-events.log"
18--
19-- logger
20--    MY_APP is
21--       output out_events
22--       level error
23--    end
24--
25--    MY_TRACED_CLASS is
26--       like MY_APP
27--       output out_debug
28--       level trace
29--    end
30--
31-- end
32--
33-- -------->8--
34--
35
36version "1.0"
37
38locations
39	"."
40	"conf"
41
42needs
43	KERNEL
44	PARSE
45
46end