|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| AUTHORS | H A D | 30-Jun-2003 | 550 | 20 | 14 |
| ChangeLog | H A D | 03-Oct-2005 | 5.3 KiB | 155 | 105 |
| INSTALL | H A D | 06-Jan-2003 | 269 | 11 | 7 |
| LICENSE | H A D | 03-Oct-2005 | 1.3 KiB | 29 | 22 |
| Makefile.in | H A D | 03-Oct-2005 | 9 KiB | 283 | 206 |
| NEWS | H A D | 06-Jan-2003 | 261 | 11 | 7 |
| README | H A D | 03-Oct-2005 | 2.9 KiB | 67 | 52 |
| TODO | H A D | 06-Nov-2003 | 16 KiB | 398 | 324 |
| aclocal.m4 | H A D | 03-Oct-2005 | 16.3 KiB | 531 | 503 |
| config.guess | H A D | 22-Sep-2005 | 42.5 KiB | 1,467 | 1,256 |
| config.sub | H A D | 22-Sep-2005 | 31 KiB | 1,580 | 1,438 |
| configure | H A D | 09-Oct-2005 | 743.7 KiB | 24,172 | 19,385 |
| configure.ac | H A D | 03-Oct-2005 | 2.9 KiB | 81 | 68 |
| l2-config.1 | H A D | 09-Oct-2005 | 6.9 KiB | 239 | 215 |
| l2-config.in | H A D | 03-Oct-2005 | 4 KiB | 146 | 109 |
| l2-config.pod | H A D | 03-Oct-2005 | 3.9 KiB | 162 | 111 |
| l2.3 | H A D | 09-Oct-2005 | 16.2 KiB | 380 | 356 |
| l2.h.in | H A D | 03-May-2022 | 9.2 KiB | 247 | 218 |
| l2.m4 | H A D | 03-Oct-2005 | 16.2 KiB | 409 | 406 |
| l2.pod | H A D | 03-Oct-2005 | 10.8 KiB | 299 | 220 |
| l2_ch_buffer.c | H A D | 03-May-2022 | 11.3 KiB | 356 | 247 |
| l2_ch_fd.c | H A D | 03-May-2022 | 4.2 KiB | 162 | 80 |
| l2_ch_file.c | H A D | 03-May-2022 | 8.5 KiB | 297 | 186 |
| l2_ch_filter.c | H A D | 03-May-2022 | 4.8 KiB | 159 | 96 |
| l2_ch_irc.c | H A D | 03-May-2022 | 10.1 KiB | 306 | 188 |
| l2_ch_noop.c | H A D | 03-Oct-2005 | 1.6 KiB | 45 | 12 |
| l2_ch_null.c | H A D | 03-Oct-2005 | 1.6 KiB | 45 | 12 |
| l2_ch_pipe.c | H A D | 03-May-2022 | 16.4 KiB | 430 | 248 |
| l2_ch_prefix.c | H A D | 03-May-2022 | 6.4 KiB | 214 | 148 |
| l2_ch_smtp.c | H A D | 03-May-2022 | 11.3 KiB | 347 | 207 |
| l2_ch_socket.c | H A D | 03-May-2022 | 6.6 KiB | 218 | 134 |
| l2_ch_syslog.c | H A D | 03-May-2022 | 11.8 KiB | 368 | 287 |
| l2_channel.c | H A D | 03-May-2022 | 16.9 KiB | 625 | 380 |
| l2_config.h.in | H A D | 09-Oct-2005 | 4.6 KiB | 165 | 110 |
| l2_env.c | H A D | 03-May-2022 | 8.6 KiB | 282 | 170 |
| l2_p.h | H A D | 03-Oct-2005 | 4.5 KiB | 144 | 88 |
| l2_spec.c | H A D | 03-May-2022 | 4.8 KiB | 166 | 92 |
| l2_spec.h | H A D | 03-Oct-2005 | 2.5 KiB | 65 | 24 |
| l2_spec_parse.c | H A D | 09-Oct-2005 | 47 KiB | 1,703 | 1,148 |
| l2_spec_parse.h | H A D | 09-Oct-2005 | 2.2 KiB | 79 | 37 |
| l2_spec_parse.y | H A D | 03-Oct-2005 | 7.5 KiB | 259 | 175 |
| l2_spec_scan.c | H A D | 09-Oct-2005 | 59 KiB | 2,195 | 1,395 |
| l2_spec_scan.l | H A D | 03-Oct-2005 | 5.1 KiB | 203 | 146 |
| l2_test.c | H A D | 03-Oct-2005 | 7.4 KiB | 180 | 111 |
| l2_ut_fmtcb.c | H A D | 03-Oct-2005 | 6.7 KiB | 202 | 145 |
| l2_ut_format.c | H A D | 03-May-2022 | 37.2 KiB | 1,191 | 841 |
| l2_ut_format.h | H A D | 03-May-2022 | 3.2 KiB | 77 | 34 |
| l2_ut_level.c | H A D | 03-Oct-2005 | 4.3 KiB | 148 | 105 |
| l2_ut_param.c | H A D | 03-May-2022 | 6.6 KiB | 194 | 138 |
| l2_ut_pcre.c | H A D | 03-Oct-2005 | 90.8 KiB | 4,297 | 3,666 |
| l2_ut_pcre.h | H A D | 11-Jan-2002 | 5 KiB | 142 | 83 |
| l2_ut_sa.ac | H A D | 02-Feb-2005 | 7.8 KiB | 239 | 217 |
| l2_ut_sa.c | H A D | 03-Oct-2005 | 72.1 KiB | 2,349 | 1,749 |
| l2_ut_sa.h | H A D | 03-Oct-2005 | 8.4 KiB | 215 | 139 |
| l2_version.c | H A D | 03-Oct-2005 | 995 | 47 | 31 |
| l2tool.1 | H A D | 09-Oct-2005 | 4.5 KiB | 170 | 146 |
| l2tool.c | H A D | 03-Oct-2005 | 4 KiB | 138 | 78 |
| l2tool.pod | H A D | 03-Oct-2005 | 2 KiB | 84 | 58 |
| libtool.m4 | H A D | 09-Oct-2005 | 214.5 KiB | 6,185 | 5,543 |
| ltmain.sh | H A D | 22-Sep-2005 | 182.4 KiB | 6,531 | 5,134 |
| shtool | H A D | 09-Oct-2005 | 53.2 KiB | 1,524 | 1,250 |
README
1 _ ___ ____ ____ ____ _ ____
2 |_|_ _ / _ \/ ___/ ___|| _ \ | |___ \
3 _|_||_| | | | \___ \___ \| |_) | | | __) |
4 |_||_|_| | |_| |___) |__) | __/ | |/ __/
5 |_|_|_| \___/|____/____/|_| |_|_____|
6
7 OSSP l2 -- Flexible Logging
8 Version 0.9.11 (03-Oct-2005)
9
10 ABSTRACT
11
12 OSSP l2 is a C library providing a very flexible and sophisticated
13 Unix logging facility. It is based on the model of arbitrary number of
14 channels, stacked together in a top-down data flow tree structure with
15 filtering channels in internal nodes and output channels on the leave
16 nodes.
17
18 Channel trees can be either constructed manually through lower-level
19 API functions or all at once with a single API function controlled by
20 a compact syntactical description of the channel tree. For generating
21 log messages a printf-style formatting engine is provided which can be
22 extended through callback functions. The data flow inside the channel
23 tree is controlled by (eight fixed and nine custom) logging message
24 severity levels which are assigned to each individual channel.
25
26 Channels are implemented by channel handlers which can be even
27 customer supplied for creating own channels which seamlessly integrate
28 into the framework. For convenience reasons, OSSP l2 already ships
29 with pre-implemented filtering (noop, filter, prefix, buffer) and
30 output (null, fd, file, pipe, socket, syslog, smtp) channels which
31 already cover mostly all use cases of logging.
32
33 COPYRIGHT AND LICENSE
34
35 Copyright (c) 2001-2005 Cable & Wireless <http://www.cw.com/>
36 Copyright (c) 2001-2005 The OSSP Project <http://www.ossp.org/>
37 Copyright (c) 2001-2005 Ralf S. Engelschall <rse@engelschall.com>
38
39 This file is part of OSSP l2, a flexible logging library which
40 can be found at http://www.ossp.org/pkg/lib/l2/.
41
42 Permission to use, copy, modify, and distribute this software for
43 any purpose with or without fee is hereby granted, provided that
44 the above copyright notice and this permission notice appear in all
45 copies.
46
47 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
48 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
49 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
50 IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
51 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
52 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
53 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
54 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
55 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
56 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
57 OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 SUCH DAMAGE.
59
60 HOME AND DOCUMENTATION
61
62 The documentation and latest release can be found on
63
64 o http://www.ossp.org/pkg/lib/l2/
65 o ftp://ftp.ossp.org/pkg/lib/l2/
66
67