OSSP CVS Repository

ossp - History for /ossp-pkg/l2/Makefile.in
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Directory]  [Show Milestones

DateVersion Description
2007-Mar-23 09:09    1.50    Check-in [5759]: - Make newer GNU autoconf happy by providing "datarootdir". - Fix installation by using GNU libtool for installing "l2-config". By rse. (diff)
2005-Oct-03 10:08    1.49    Check-in [5217]: Adjust copyright messages for new year 2005. By rse. (diff)
2005-Jan-24 16:03    1.48    Check-in [4979]: Adjust copyright messages for new year 2005. By rse. (diff)
2003-Jan-06 12:41    1.47    Check-in [3065]: - remove trailing whitespaces - adjust copyright messages - consistently use "OSSP l2" - consistently talk about "Flexible Logging" - use standard OSSP ASCII-art By rse. (diff)
2002-Aug-21 15:26    1.46    Check-in [2523]: fix DESTDIR support By rse. (diff)
2002-Jul-30 21:08    1.45    Check-in [2437]: polish for release By rse. (diff)
2002-Jul-09 10:50    1.44    Check-in [2261]: axe out l2syslog stuff (will occur on OSSP fsl soon) By rse. (diff)
2002-May-29 15:53    1.43    Check-in [2179]: disable syslog test for now By rse. (diff)
2002-Jan-03 17:12    1.42    Check-in [1502]: integrate first cut of l2syslog stuff By rse. (diff)
2002-Jan-02 18:07    1.41    Check-in [1492]: bump copyright year By rse. (diff)
2001-Dec-22 23:04    1.40    Check-in [1449]: fix realclean target By rse. (diff)
2001-Dec-22 22:58    1.39    Check-in [1447]: Remove socket monitor utility, because now we have SA and the functionality either has to be applied again as an "satool" to SA or we should use one of the existing tools like "netcat", etc. By rse. (diff)
2001-Dec-22 22:51    1.38    Check-in [1445]: Remove all half-done C++ things. Because in the near future we neither will have time to finish this nor do we really want it to be finished. So kick out all of this stuff. If we later want to add real C++ support, we can easily apply this again. By rse. (diff)
2001-Nov-10 15:01    1.37    Check-in [1292]: First cut for the L2 command line tool which allows us very easy testing through the new channel tree specification parser. By rse. (diff)
2001-Nov-08 22:58    1.36    Check-in [1286]: Enhance the specification parser to be more smart in parsing parameter values in order to remove the burden on the user to provide massive syntactic sugar.

One now can name=value or name="value" or even name=va"lu"e, i.e., do not require quotation marks. But if they are present they can be used to introduce spaces or special characters with \xXX notation. By rse. (diff)

2001-Nov-08 21:28    1.35    Check-in [1285]: Add --enable-maintainer mode and only use Bison and Flex if this mode enabled. Else we assume end user mode where the scanner and parser files have to be already pre-generated. Additionally check the version of the installed GNU Flex to make sure developers to not think the 1997'er Flex version 2.5.4 is sufficient. By rse. (diff)
2001-Nov-08 19:31    1.34    Check-in [1284]: The parser should be compiled first to later provide the lexer with symbols. By ms. (diff)
2001-Nov-08 17:54    1.33    Check-in [1283]: Remove yacc and lex generated files. By ms. (diff)
2001-Nov-08 10:53    1.32    Check-in [1278]: switch to devtool stuff (taken over from OSSP SA) By rse. (diff)
2001-Nov-07 17:18    1.31    Check-in [1266]: ok, this was just for easier developing the parser By rse. (diff)
2001-Nov-07 17:17    1.30    Check-in [1265]: HEADS UP, guys:

Here comes the first cut for the long-awaited channel tree specification parser and channel tree builder. This certainly makes L2 finally THE killer library in the logging field. Woohooo... and the crowd goes wild!

It allows one to build an arbitrary complex logging channel tree out of a single textual specification. An example follows:

    noop -> {
        prefix(prefix="[%d-%m-%Y/%H:%M:%S] %L test[%P]: ", timezone="local")
        -> filter(regex="hecking", negate="0")
           -> buffer(size="800")
              -> file(path="l2_test.log",append="1",perm="420");
        error: syslog(ident="L2-Test", facility="user",
                      remotehost="en1", logpid="1", target="remote");
        panic: smtp(rcpt="rse@engelschall.com", host="en1", port="25"

This allows one to log nice timestamp-prefixed messages containing the word "hecking" to a buffered file. Additionally if the message has a level higher or equal to "error" it also logs it remotely via UDP to the syslogd on en1. And additionally if the message is a panic message, it is also sent out as an Email via SMTP to the MTA on en1.

Ever thought a C library has to be dull and simple? ;)

PS: This stuff certainly needs more polishing and cleanup and also a few things I'll enhance in the future (for instance to remove the restriction that parameter values have to be in quotation marks, etc.). By rse. (diff)

2001-Nov-05 21:39    1.29    Check-in [1256]: Seems like my long years of programming in assembly language still have an impact on my thinking. Change "nop" (assembly mnemonic) to "noop" (english abbreviation) in the name of our no-operation channel. Thanks to Michael for catching this. By rse. (diff)
2001-Nov-04 15:08    1.28    Check-in [1253]: Simplify "null" (discard) output channel to minimum implementation and provide an additional "nop" (no-operation) filter channel for typical use as the root channel in a channel tree. By rse. (diff)
2001-Nov-04 14:21    1.27    Check-in [1248]: Channel-Only Revamping Step 2: - moved code of l2_stream.c into (new) l2_env.c and l2_channel.c - created new l2_env_t and l2_env_xxx() - changed l2_xx_create() functions to also return l2_result_t - moved error handling into l2_env_t - replaced l2_channel_stack() with two new and more flexible l2_channel_link() and l2_channel_unlink() functions - rewritten test stuff in l2_test.c to use new structure - added new l2_channel_env() function for retriving l2_env_t

Puhhh.... By rse. (diff)

2001-Oct-11 10:02    1.26    Check-in [1154]: make depend By thl. (diff)
2001-Oct-04 16:58    1.25    Check-in [1071]: Birth of IRC channel. By ms. (diff)
2001-Sep-15 18:03    1.24    Check-in [1018]: Reduce to the new generated version of PCRE 3.5. This version is just half the size, because all comments and unneccessary whitespaces were stripped. By rse. (diff)
2001-Sep-13 16:44    1.23    Check-in [991]: remove l2.h on 'make distclean' By thl. (diff)
2001-Sep-13 10:47    1.22    Check-in [971]: Fix dependency generation By thl. (diff)
2001-Sep-12 16:43    1.21    Check-in [962]: adapted new L2 flushmask feature By thl. (diff)
2001-Sep-10 08:43    1.20    Check-in [905]: Bug fixes, cleanup, and removed makefile redundancies (see end.) By ms. (diff)
2001-Sep-09 17:57    1.19    Check-in [900]: First cut for an SMTP output channel. This is very useful for (additionally) logging L2_LEVEL_PANIC messages in real-time to a mailbox via direct SMTP connection to a mail server. Internally it is very simple, because it is based on our new Socket Abstraction (SA) library (l2_ut_sa.[ch])... By rse. (diff)
2001-Sep-09 17:42    1.18    Check-in [897]: make sure the version is available internally By rse. (diff)
2001-Sep-06 18:28    1.17    Check-in [877]: Add a copy of our SA library to L2 in order to simplify socket channel and socket monitor program. By rse. (diff)
2001-Sep-06 13:56    1.16    Check-in [871]: Add two cool extra formatter functions ;)

l2_util_fmt_string: This can be used like %s, but instead of fetching only a "char *" from the var-args stack, it fetches a "char *" plus a "size_t" and this way allows one to log only a sub-string of a larger string without the need for any temporary buffers, etc.

l2_util_fmt_dump: This can be used as "%{type}X" for dumping arbitrary octets. The parameter "type" can be either "text" (the default if only "%X" is used) for dumping the octets as text but with non-printable characters replaced by "\xXX" constructs; "hex" for dumping the octets in hexadecimal as "XX:XX:XX:XX" or "base64" for dumping the octets Base64 encoded. All three are intended for making it easier to produce reasonable L2_LEVEL_DEBUG messages without having to fiddle around with temporary buffers and having to care with non-printable characters.

For instance, using...

  l2_stream_formatter(st, 'D', l2_util_fmt_dump, NULL);
  l2_stream_vlog(st, L2_LEVEL_DEBUG, "%{text}D %{hex}D %{base64}D\n",
                 "foo", 12345, "foo\1bar", 7, "foo\1bar", 7, "foo\1bar", 7);

...produces "foo\x01bar 66:6f:6f:01:62:61:72 Zm9vAWJhcg==" in the output. By rse. (diff)

2001-Sep-05 15:33    1.15    Check-in [860]: fix 'make check' By rse. (diff)
2001-Sep-05 15:32    1.14    Check-in [859]: added to utility functions for transforming levelmask between string and int and vice versa By thl. (diff)
2001-Sep-04 16:52    1.13    Check-in [840]: Add (automatically) stripped down version of PCRE 3.5 for use in the filter channel. By rse. (diff)
2001-Sep-04 15:53    1.12    Check-in [836]: remove test logfile from 'make check' By rse. (diff)
2001-Sep-04 15:52    1.11    Check-in [835]: Wohhooooo! Here comes the underlying message formatting support:

1. renamed l2_channel_setparam() to l2_util_setparam() because it is just a utility function and is not tied to any channel.

2. moved l2_util_setparam() to its own l2_ut_param.c source file.

3. added l2_ut_format.c which contains a slightly adjusted version of Str's str_format() stuff under the name l2_util_format().

4. use l2_util_format() in l2_stream.c instead of vsnprintf() and this way finally support l2_formatter_t callbacks.

5. cleanup adjustments to the l2_stream_formatter() API.

Let's rock... By rse. (diff)

2001-Sep-03 19:23    1.10    Check-in [827]: - fix realclean target - remove tool update targets (done by autogen.sh) By rse. (diff)
2001-Aug-15 12:36    1.9    Check-in [675]: Fix more ossp.com references by replacing with the correct domain name ossp.org. By rse. (diff)
2001-Aug-15 09:49    1.8    Check-in [673]: Upgrade to GNU autoconf 2.52, GNU libtool 1.4, GNU shtool 1.5.4 By rse. (diff)
2001-May-22 20:47    1.7    Check-in [485]: Simplify things by merging the parameter stuff into l2_channel.c and the l2_stream_t related things into l2_stream.c By rse. (diff)
2001-May-19 22:08    1.6    Check-in [476]: the "int l2_channel_configure(l2_channel_t *ch, const char *fmt, ...);" beast was my idea, so it is fair to also provide the necessary tool for implementing the underlying handler functions. Here it is, l2_param_parse(). By rse. (diff)
2001-May-19 21:01    1.5    Check-in [475]: fix 'make clean' By rse. (diff)
2001-May-17 16:40    1.4    Check-in [469]: Added l2_log.c module, which contains l2_stream_log() and l2_stream_vlog(). By simons. (diff)
2001-May-11 21:50    1.3    Check-in [461]: Major overhaul and improvement of build environment. Especially we now added optional support for C++ building with --with-cxx. By rse. (diff)
2001-May-11 20:37    1.2    Check-in [457]: Fix manpage substitution By rse. (diff)
2001-May-10 21:46    1.1    Check-in [449]: Initial revision By rse.
2001-May-10 21:46    Check-in [450]: L2 initial source tree By rse. (diff)

CVSTrac 2.0.1