lwatch-cvs Mailing List for Log Watcher (Page 4)
Brought to you by:
arturcz
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
(22) |
Aug
(11) |
Sep
(5) |
Oct
|
Nov
(4) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(5) |
Feb
(29) |
Mar
(85) |
Apr
(45) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
(30) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(55) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2005 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
(6) |
Mar
(12) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
| 2010 |
Jan
|
Feb
(15) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Artur R. C. <ar...@us...> - 2004-08-14 15:55:18
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1594 Modified Files: TODO Log Message: For next release Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** TODO 14 Aug 2004 15:46:14 -0000 1.41 --- TODO 14 Aug 2004 15:55:04 -0000 1.42 *************** *** 4,10 **** Now (for 0.4): - localstatedir -> /var - - option for dumping ./configure flags Later (for 0.5): - optional syslog support - debug/error messages should be optionally printed to syslog --- 4,10 ---- Now (for 0.4): - localstatedir -> /var Later (for 0.5): + - option for dumping ./configure flags - optional syslog support - debug/error messages should be optionally printed to syslog |
|
From: Artur R. C. <ar...@us...> - 2004-08-14 15:47:15
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv591 Modified Files: configure.ac Log Message: --enable-resize is broken Index: configure.ac =================================================================== RCS file: /cvsroot/lwatch/files/configure.ac,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** configure.ac 14 Aug 2004 14:27:07 -0000 1.45 --- configure.ac 14 Aug 2004 15:47:06 -0000 1.46 *************** *** 145,149 **** AC_MSG_CHECKING(for compile with terminal resizing support) AC_ARG_ENABLE(resize, ! AC_HELP_STRING([--enable-resize],[Compile with terminal resizing support]), , [enable_resize="no"]) AC_MSG_RESULT($enable_resize) --- 145,149 ---- AC_MSG_CHECKING(for compile with terminal resizing support) AC_ARG_ENABLE(resize, ! AC_HELP_STRING([--enable-resize],[Compile with terminal resizing support (broken, use on your own risk)]), , [enable_resize="no"]) AC_MSG_RESULT($enable_resize) |
|
From: Artur R. C. <ar...@us...> - 2004-08-14 15:46:23
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv426 Modified Files: TODO Log Message: ./configure has a variable/parameter for /var Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** TODO 14 Aug 2004 15:30:20 -0000 1.40 --- TODO 14 Aug 2004 15:46:14 -0000 1.41 *************** *** 3,6 **** --- 3,7 ---- Now (for 0.4): + - localstatedir -> /var - option for dumping ./configure flags |
|
From: Artur R. C. <ar...@us...> - 2004-08-14 15:30:29
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30703 Modified Files: INSTALL TODO Log Message: ./configure options described in INSTALL Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** TODO 14 Aug 2004 15:22:27 -0000 1.39 --- TODO 14 Aug 2004 15:30:20 -0000 1.40 *************** *** 3,7 **** Now (for 0.4): - - more documentation: edit INSTALL - option for dumping ./configure flags --- 3,6 ---- Index: INSTALL =================================================================== RCS file: /cvsroot/lwatch/files/INSTALL,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** INSTALL 8 Apr 2003 14:19:02 -0000 1.5 --- INSTALL 14 Aug 2004 15:30:20 -0000 1.6 *************** *** 234,237 **** Show a lot of debug information during runtime ! `--enable-input' ! Specify default input file instead /dev/lwatch --- 234,246 ---- Show a lot of debug information during runtime ! `--enable-input=PATH' ! Specify default input file instead /var/lwatch/syslog.fifo ! ! `--enable-resize' ! Cut output line to terminal width. This feature is broken now, use it on ! your own risk ! ! `--with-libpcre=PATH' ! Specify directory with pcre development files ! ! vim:tw=78: |
|
From: Artur R. C. <ar...@us...> - 2004-08-14 15:22:39
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29759 Modified Files: TODO Log Message: Not in this release. Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** TODO 14 Aug 2004 14:27:07 -0000 1.38 --- TODO 14 Aug 2004 15:22:27 -0000 1.39 *************** *** 3,12 **** Now (for 0.4): - - optional syslog support - - debug/error messages should be printed to stderr/syslog - more documentation: edit INSTALL - option for dumping ./configure flags Later (for 0.5): - throw error if config file is without version - permanently remove input_fifo --- 3,12 ---- Now (for 0.4): - more documentation: edit INSTALL - option for dumping ./configure flags Later (for 0.5): + - optional syslog support + - debug/error messages should be optionally printed to syslog - throw error if config file is without version - permanently remove input_fifo |
|
From: Artur R. C. <ar...@us...> - 2004-08-14 15:19:15
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29294 Modified Files: README README.cvs Log Message: Information about CVS snapshot moved from README to README.cvs. Set textwidth to 78. Index: README.cvs =================================================================== RCS file: /cvsroot/lwatch/files/README.cvs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README.cvs 14 Aug 2004 15:11:27 -0000 1.2 --- README.cvs 14 Aug 2004 15:19:02 -0000 1.3 *************** *** 10,18 **** You have to install some additional software to build lwatch from CVS ! snapshot: ! - automake v1.8 <http://ftp.gnu.org/gnu/automake/automake-1.8.5.tar.bz2> ! - autoconf <http://ftp.gnu.org/gnu/autoconf/autoconf-2.59.tar.bz2> ! - docbook-to-man (required to build manual files) ! <http://www.oasis-open.org/docbook/tools/dtm/docbook-to-man.tar.gz> If you have all above installed on you box just run following sequence: --- 10,28 ---- You have to install some additional software to build lwatch from CVS ! snapshot. ! ! First, you need an automake. Files are prepared for 1.8. You can download ! it from <http://ftp.gnu.org/gnu/automake/automake-1.8.5.tar.bz2>. ! ! Another required package is autoconf, at least 2.57. Available at ! <http://ftp.gnu.org/gnu/autoconf/autoconf-2.59.tar.bz2>. ! ! System manual has been written in SGML DocBook. You need some kind (any) ! docbook->man converter to generate proper manual page. For now, configure ! supports docbook-to-man available at: ! http://www.oasis-open.org/docbook/tools/dtm/docbook-to-man.tar.gz ! ! docbook2man from docbook-utils is not supported and I am not sure ! if I will. If you have all above installed on you box just run following sequence: *************** *** 21,23 **** See README for more information about building lwatch from sources. ! vim:tw=72: --- 31,33 ---- See README for more information about building lwatch from sources. ! vim:tw=78: Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** README 11 Aug 2004 22:56:08 -0000 1.25 --- README 14 Aug 2004 15:19:02 -0000 1.26 *************** *** 21,37 **** and binary. If not, please submit a bug (see BUGS for details). ! If you want to use CVS snapshot you need autoconf 2.57. Automake 1.8 is not necessary. You may safely ignore messages about the lack of it as long as Makefile.am, acinclude.m4 and configure.ac are not modified. - System manual has been written in SGML DocBook. You need some kind (any) - docbook->man converter to generate proper manual page. For now, configure - supports docbook-to-man available at: - http://www.oasis-open.org/docbook/tools/dtm/docbook-to-man.tar.gz - - docbook2man from docbook-utils is not supported and I am not sure - if I will. - Log Watcher uses getopt_long function. Some unices have it included in libc (specially glibc based ones), some have it in other libraries --- 21,29 ---- and binary. If not, please submit a bug (see BUGS for details). ! If you want to use CVS snapshot please read README.cvs. Automake 1.8 is not necessary. You may safely ignore messages about the lack of it as long as Makefile.am, acinclude.m4 and configure.ac are not modified. Log Watcher uses getopt_long function. Some unices have it included in libc (specially glibc based ones), some have it in other libraries *************** *** 124,125 **** --- 116,119 ---- I have no shell access to any other platforms. Any feedback about compiling and running lwatch on them is greatly appreciated. + + vim:tw=78: |
|
From: Artur R. C. <ar...@us...> - 2004-08-14 15:11:35
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28404 Modified Files: README.cvs Log Message: How to work with CVS snapshot. Index: README.cvs =================================================================== RCS file: /cvsroot/lwatch/files/README.cvs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README.cvs 11 Aug 2004 23:55:40 -0000 1.1 --- README.cvs 14 Aug 2004 15:11:27 -0000 1.2 *************** *** 4,6 **** Working on sources from CVS. ! This is only placeholder. --- 4,23 ---- Working on sources from CVS. ! If you like to walk over the bleeding edge you can use CVS snapshot. For ! detailed instruction about fetching the source from CVS look at: ! http://sourceforge.net/cvs/?group_id=55979 ! section "Anonymous CVS Access". ! ! You have to install some additional software to build lwatch from CVS ! snapshot: ! - automake v1.8 <http://ftp.gnu.org/gnu/automake/automake-1.8.5.tar.bz2> ! - autoconf <http://ftp.gnu.org/gnu/autoconf/autoconf-2.59.tar.bz2> ! - docbook-to-man (required to build manual files) ! <http://www.oasis-open.org/docbook/tools/dtm/docbook-to-man.tar.gz> ! ! If you have all above installed on you box just run following sequence: ! aclocal && automake && autoconf ! ! See README for more information about building lwatch from sources. ! ! vim:tw=72: |
|
From: Artur R. C. <ar...@us...> - 2004-08-14 14:27:21
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22204/doc Modified Files: Makefile.am Log Message: Proper handling non existent docbook-to-man. Index: Makefile.am =================================================================== RCS file: /cvsroot/lwatch/files/doc/Makefile.am,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** Makefile.am 12 Aug 2004 06:46:41 -0000 1.24 --- Makefile.am 14 Aug 2004 14:27:08 -0000 1.25 *************** *** 22,25 **** --- 22,26 ---- endif + if HAVE_D2M lwatch.1.in: lwatch.sgml conf.ent.in cp conf.ent.in conf.ent *************** *** 29,32 **** --- 30,40 ---- cp conf.ent.in conf.ent $(dbook2man) lwatch.conf.sgml $(dbook2man_out) lwatch.conf.5.in + else + lwatch.1.in lwatch.conf.5.in: + @echo +-----------------------------------------------------------------+ + @echo \| You have to install docbook-to-man. See README.cvs for details. \| + @echo +-----------------------------------------------------------------+ + @exit 1 + endif if HAVE_D2M |
|
From: Artur R. C. <ar...@us...> - 2004-08-14 14:27:21
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22204 Modified Files: TODO configure.ac Log Message: Proper handling non existent docbook-to-man. Index: configure.ac =================================================================== RCS file: /cvsroot/lwatch/files/configure.ac,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** configure.ac 11 Aug 2004 23:02:17 -0000 1.44 --- configure.ac 14 Aug 2004 14:27:07 -0000 1.45 *************** *** 85,89 **** AC_PATH_PROG(dbook2man,[docbook-to-man],[no]) if test "$dbook2man" = "no"; then ! AC_MSG_WARN([docbook-to-man not found, using lwatch.1.in stub]) else dbook2man_out=">" --- 85,89 ---- AC_PATH_PROG(dbook2man,[docbook-to-man],[no]) if test "$dbook2man" = "no"; then ! AC_MSG_WARN([docbook-to-man not found, using lwatch.1.in stub if possible]) else dbook2man_out=">" Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** TODO 12 Aug 2004 10:30:32 -0000 1.37 --- TODO 14 Aug 2004 14:27:07 -0000 1.38 *************** *** 3,10 **** Now (for 0.4): - [10:37] <cosurgi> make[1]: *** [lwatch.1.in] Error 127 - [10:37] <cosurgi> no lwatch.sgml lwatch.1.in - [10:37] <cosurgi> make[1]: no: Command not found - - optional syslog support - debug/error messages should be printed to stderr/syslog --- 3,6 ---- |
|
From: Artur R. C. <ar...@us...> - 2004-08-12 10:30:42
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10534 Modified Files: TODO Log Message: docbook-to-man detect bug Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** TODO 11 Aug 2004 22:56:08 -0000 1.36 --- TODO 12 Aug 2004 10:30:32 -0000 1.37 *************** *** 3,6 **** --- 3,10 ---- Now (for 0.4): + [10:37] <cosurgi> make[1]: *** [lwatch.1.in] Error 127 + [10:37] <cosurgi> no lwatch.sgml lwatch.1.in + [10:37] <cosurgi> make[1]: no: Command not found + - optional syslog support - debug/error messages should be printed to stderr/syslog |
|
From: Artur R. C. <ar...@us...> - 2004-08-12 06:47:15
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7412 Removed Files: aclocal.m4 Log Message: Removed - we can recreate it. --- aclocal.m4 DELETED --- |
|
From: Artur R. C. <ar...@us...> - 2004-08-12 06:46:50
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7341 Modified Files: Makefile.am Log Message: Remove lwatch.1.in and lwatch.5.in - we can recreate it from sgml. Index: Makefile.am =================================================================== RCS file: /cvsroot/lwatch/files/doc/Makefile.am,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** Makefile.am 10 Aug 2004 14:34:49 -0000 1.23 --- Makefile.am 12 Aug 2004 06:46:41 -0000 1.24 *************** *** 1,5 **** man_MANS = lwatch.1 lwatch.conf.5 EXTRA_DIST = lwatch.sgml conf.ent.in lwatch.1.in lwatch.conf.sgml lwatch.conf.5.in ! CLEANFILES = lwatch.1 conf.ent lwatch.txt manpage.links manpage.refs lwatch.conf.5 sed_prog = -e 's!@CONFDIR\@!$(sysconfdir)!g' -e 's!@BINDIR\@!$(bindir)!g' -e 's!@INPUTFILE\@!$(INPUTFILE)!g' --- 1,5 ---- man_MANS = lwatch.1 lwatch.conf.5 EXTRA_DIST = lwatch.sgml conf.ent.in lwatch.1.in lwatch.conf.sgml lwatch.conf.5.in ! CLEANFILES = lwatch.1 lwatch.1.in lwatch.conf.5 lwatch.conf.5.in conf.ent lwatch.txt manpage.links manpage.refs sed_prog = -e 's!@CONFDIR\@!$(sysconfdir)!g' -e 's!@BINDIR\@!$(bindir)!g' -e 's!@INPUTFILE\@!$(INPUTFILE)!g' |
|
From: Artur R. C. <ar...@us...> - 2004-08-11 23:55:49
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18573 Added Files: README.cvs Log Message: How to work with CVS sources (placeholder). --- NEW FILE: README.cvs --- $Id: README.cvs,v 1.1 2004/08/11 23:55:40 arturcz Exp $ $Source: /cvsroot/lwatch/files/README.cvs,v $ Working on sources from CVS. This is only placeholder. |
|
From: Artur R. C. <ar...@us...> - 2004-08-11 23:44:51
|
Update of /cvsroot/lwatch/files/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172 Modified Files: lwatch.conf Log Message: Manual is ready. Index: lwatch.conf =================================================================== RCS file: /cvsroot/lwatch/files/src/lwatch.conf,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** lwatch.conf 10 Aug 2004 12:15:20 -0000 1.25 --- lwatch.conf 11 Aug 2004 23:44:42 -0000 1.26 *************** *** 3,7 **** # $Id$ # $Source$ ! # Format of this file is described in manual FIXME # This configuration file has syntax version 1. --- 3,7 ---- # $Id$ # $Source$ ! # Format of this file is described in manual # This configuration file has syntax version 1. |
|
From: Artur R. C. <ar...@us...> - 2004-08-11 23:31:33
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14914 Removed Files: lwatch.1.in lwatch.conf.5.in Log Message: We are able to generate those files on request. Just install docbook-to-man. --- lwatch.conf.5.in DELETED --- --- lwatch.1.in DELETED --- |
|
From: Artur R. C. <ar...@us...> - 2004-08-11 23:02:28
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9888 Modified Files: configure.ac Log Message: Replace # with dnl Index: configure.ac =================================================================== RCS file: /cvsroot/lwatch/files/configure.ac,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** configure.ac 11 Aug 2004 22:56:08 -0000 1.43 --- configure.ac 11 Aug 2004 23:02:17 -0000 1.44 *************** *** 17,24 **** CFLAGS="-Wall ${CFLAGS}" ! #if test "$cache_file" = /dev/null; then ! # cache_file="config.cache" ! #fi ! #AC_CACHE_LOAD AC_PREFIX_DEFAULT(/usr/local) --- 17,24 ---- CFLAGS="-Wall ${CFLAGS}" ! dnl if test "$cache_file" = /dev/null; then ! dnl cache_file="config.cache" ! dnl fi ! dnl AC_CACHE_LOAD AC_PREFIX_DEFAULT(/usr/local) *************** *** 51,55 **** esac ! # Checks for programs. AC_PROG_CC AC_PROG_INSTALL --- 51,55 ---- esac ! dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL *************** *** 61,85 **** fi ! #AC_PATH_PROG(dbook2man,[docbook-to-man],[no]) ! #if test "$dbook2man" = "no"; then ! # unset ac_cv_path_dbook2man ! # AC_PATH_PROG(dbook2man,[docbook2man],[no]) ! # if test "$dbook2man" = "no"; then ! # AC_MSG_WARN([docbook-to-man not found, using lwatch.1.in stub]) ! # else ! # dbook2man_out="" ! # dbook2man_out_in="&& mv -f lwatch.1 lwatch.1.in" ! # AC_MSG_WARN([you could have bad formatted manual page, see README for details]) ! # sleep 5 ! # fi ! #else ! # dbook2man_out="> lwatch.1" ! # dbook2man_out_in="> lwatch.1.in" ! #fi ! #AC_SUBST(dbook2man_out) ! #AC_SUBST(dbook2man_out_in) ! #if test "$dbook2man" != "no"; then ! # AC_MSG_NOTICE([sgml->man: ${dbook2man} lwatch.sgml ${dbook2man_out}]) ! #fi AC_PATH_PROG(dbook2man,[docbook-to-man],[no]) --- 61,85 ---- fi ! dnl AC_PATH_PROG(dbook2man,[docbook-to-man],[no]) ! dnl if test "$dbook2man" = "no"; then ! dnl unset ac_cv_path_dbook2man ! dnl AC_PATH_PROG(dbook2man,[docbook2man],[no]) ! dnl if test "$dbook2man" = "no"; then ! dnl AC_MSG_WARN([docbook-to-man not found, using lwatch.1.in stub]) ! dnl else ! dnl dbook2man_out="" ! dnl dbook2man_out_in="&& mv -f lwatch.1 lwatch.1.in" ! dnl AC_MSG_WARN([you could have bad formatted manual page, see README for details]) ! dnl sleep 5 ! dnl fi ! dnl else ! dnl dbook2man_out="> lwatch.1" ! dnl dbook2man_out_in="> lwatch.1.in" ! dnl fi ! dnl AC_SUBST(dbook2man_out) ! dnl AC_SUBST(dbook2man_out_in) ! dnl if test "$dbook2man" != "no"; then ! dnl AC_MSG_NOTICE([sgml->man: ${dbook2man} lwatch.sgml ${dbook2man_out}]) ! dnl fi AC_PATH_PROG(dbook2man,[docbook-to-man],[no]) *************** *** 110,124 **** fi ! # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([errno.h fcntl.h getopt.h pcre.h signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/param.h sys/poll.h sys/stat.h sys/types.h unistd.h]) ! # Checks for libraries. AC_CHECK_LIB([pcre], [pcre_version],, AC_MSG_ERROR([Error: libpcre not installed. Install first. ])) ! # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST ! # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_REALLOC --- 110,124 ---- fi ! dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([errno.h fcntl.h getopt.h pcre.h signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/param.h sys/poll.h sys/stat.h sys/types.h unistd.h]) ! dnl Checks for libraries. AC_CHECK_LIB([pcre], [pcre_version],, AC_MSG_ERROR([Error: libpcre not installed. Install first. ])) ! dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST ! dnl Checks for library functions. AC_FUNC_MALLOC AC_FUNC_REALLOC *************** *** 132,137 **** fi ! # Define autoheader templates ! # Checks for user options AC_MSG_CHECKING(for compile with diagnostic messages) AC_ARG_ENABLE(debug, --- 132,137 ---- fi ! dnl Define autoheader templates ! dnl Checks for user options AC_MSG_CHECKING(for compile with diagnostic messages) AC_ARG_ENABLE(debug, *************** *** 150,154 **** if test "$enable_resize" = "yes"; then AC_DEFINE(RESIZE) ! # LDFLAGS="${LDFLAGS} -lcurses" fi --- 150,154 ---- if test "$enable_resize" = "yes"; then AC_DEFINE(RESIZE) ! dnl LDFLAGS="${LDFLAGS} -lcurses" fi *************** *** 173,177 **** AC_DEFINE_UNQUOTED(INPUTFILE,"${INPUTFILE}") ! # Epilog AC_CONFIG_FILES([src/Makefile doc/Makefile Makefile]) AC_OUTPUT --- 173,177 ---- AC_DEFINE_UNQUOTED(INPUTFILE,"${INPUTFILE}") ! dnl Epilog AC_CONFIG_FILES([src/Makefile doc/Makefile Makefile]) AC_OUTPUT |
|
From: Artur R. C. <ar...@us...> - 2004-08-11 22:56:18
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8468 Modified Files: ChangeLog README TODO configure.ac Log Message: --with-pcre option added Updated README Regenerated autotools dependent files Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** README 10 Aug 2004 14:09:52 -0000 1.24 --- README 11 Aug 2004 22:56:08 -0000 1.25 *************** *** 48,60 **** - LIBS specifies additional libraries which lwatch should be linked with ! If you have includes/libraries in non-standard directories you can run (for example): ! CPPFLAGS="-I/opt/include" LDFLAGS="-L/opt/lib" ./configure ! CPPFLAGS="-I/opt/include" LDFLAGS="-L/opt/lib" make ! make install If you have non-standard library which contains (i.e.) getopt_long run: ! LIBS="-lgnugetopt" ./configure ! LIBS="-lgnugetopt" make Set also CPPFLAGS and LDFLAGS if needed --- 48,62 ---- - LIBS specifies additional libraries which lwatch should be linked with ! If you have includes/libraries in non-standard directories there are two cases. ! 1) Header files are in /any/directory/include and libraries are in /any/directory/lib ! In this case just add --with-libFOO=/any/directory to ./configure, for example: ! ./configure --with-libpcre=/opt ! 2) Above is not true. Then you should specify proper directories manually with CPPFLAGS ! and LDFLAGS, for example (for example): ! ./configure CPPFLAGS="-I/opt/include" LDFLAGS="-L/opt/lib" If you have non-standard library which contains (i.e.) getopt_long run: ! ./configure LIBS="-lgnugetopt" Set also CPPFLAGS and LDFLAGS if needed Index: configure.ac =================================================================== RCS file: /cvsroot/lwatch/files/configure.ac,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** configure.ac 10 Aug 2004 14:34:48 -0000 1.42 --- configure.ac 11 Aug 2004 22:56:08 -0000 1.43 *************** *** 94,97 **** --- 94,113 ---- fi + + AC_MSG_CHECKING(for directory with libpcre) + AC_ARG_WITH(libpcre,AC_HELP_STRING([--with-libpcre=DIR],[directory with libpcre]),,[withval="yes"]) + if test "$withval" = "no"; then + AC_MSG_RESULT(no) + AC_MSG_ERROR([Hey! We _want_ to use libpcre!]) + else + if test "$withval" = "yes"; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT([yes, $withval]) + AC_CHECK_FILE($withval/include,CPPFLAGS="${CPPFLAGS} -I${withval}/include",AC_MSG_ERROR([$withval/include does not exist])) + AC_CHECK_FILE($withval/lib,LDFLAGS="${LDFLAGS} -L${withval}/lib",AC_MSG_ERROR([$withval/lib does not exist])) + fi + fi + # Checks for header files. AC_HEADER_STDC *************** *** 116,120 **** fi - # Define autoheader templates # Checks for user options --- 132,135 ---- *************** *** 138,141 **** --- 153,157 ---- fi + arc_sysconfdir=`eval echo $sysconfdir` AC_DEFINE_UNQUOTED(SYSCONFDIR,"$arc_sysconfdir") Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** TODO 11 Aug 2004 13:39:39 -0000 1.35 --- TODO 11 Aug 2004 22:56:08 -0000 1.36 *************** *** 3,7 **** Now (for 0.4): - - configure: --with-pcre support - optional syslog support - debug/error messages should be printed to stderr/syslog --- 3,6 ---- Index: ChangeLog =================================================================== RCS file: /cvsroot/lwatch/files/ChangeLog,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** ChangeLog 11 Aug 2004 12:06:24 -0000 1.24 --- ChangeLog 11 Aug 2004 22:56:08 -0000 1.25 *************** *** 8,11 **** --- 8,12 ---- without version (arturcz) - complete user manual (arturcz) + - configure: --with-pcre support (arturcz) 0.3: - --fifo and -f are deprecated, use --input and -i instead (arturcz) |
|
From: Artur R. C. <ar...@us...> - 2004-08-11 13:39:48
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28161 Modified Files: TODO Log Message: Daemonize it later. Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** TODO 11 Aug 2004 12:06:24 -0000 1.34 --- TODO 11 Aug 2004 13:39:39 -0000 1.35 *************** *** 3,7 **** Now (for 0.4): - - run as daemon - configure: --with-pcre support - optional syslog support --- 3,6 ---- *************** *** 15,18 **** --- 14,18 ---- - support for growing regular files (like tail -f) - signal handling (reload configuration, reexec program) + - run as daemon - enable cut line to $COLUMNS to fit in xterm (it requires some work to make it usable) (arc: is this feature really needed?) |
|
From: Karolina G. <ca...@us...> - 2004-08-11 13:37:14
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27674 Modified Files: lwatch.conf.sgml lwatch.sgml Log Message: proofreading Index: lwatch.conf.sgml =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.conf.sgml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lwatch.conf.sgml 11 Aug 2004 12:06:24 -0000 1.3 --- lwatch.conf.sgml 11 Aug 2004 13:37:04 -0000 1.4 *************** *** 7,11 **** <!-- ! This file is part of the LogWatcher tool. Copyright (C) 2002,2003,2004 Artur Robert Czechowski --- 7,11 ---- <!-- ! This file is a part of the LogWatcher tool. Copyright (C) 2002,2003,2004 Artur Robert Czechowski *************** *** 18,22 **** The LogWatcher is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. --- 18,22 ---- The LogWatcher is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. *************** *** 65,69 **** <refsect2> <title>General options</title> ! <para><option>cfg_ver</option> - this is obligatory variable and it must be placed as a first option in config file (note: although it is not enforced now, it shall be in next release of lwatch). This variable contains version of configuration file syntax. Current manual describes version 1.</para> <para><option>date_color</option> - default color of date part</para> <para><option>host_color</option> - default color of hostname part</para> --- 65,69 ---- <refsect2> <title>General options</title> ! <para><option>cfg_ver</option> - this is obligatory variable and it must be placed as the first option in config file (note: although it is not enforced now, it shall be in next release of lwatch). This variable contains version of configuration file syntax. Current manual describes version 1.</para> <para><option>date_color</option> - default color of date part</para> <para><option>host_color</option> - default color of hostname part</para> *************** *** 72,76 **** <para><option>input_file</option> - where lwatch is reading data from, built-in default is &infile;, could be overwriten with command line option <option>-i</option></para> <para><option>output_file</option> - where lwatch output colored data; built-in default is stdout (-), could be overwriten with command line option <option>-o</option></para> ! <para><option>show_unparsed</option> - by default lwatch ignores lines which cannot be splitted into date, host, service and message, set this variable to yes if you like to see those lines; it is the same as command line option <option>-s</option></para> </refsect2> --- 72,77 ---- <para><option>input_file</option> - where lwatch is reading data from, built-in default is &infile;, could be overwriten with command line option <option>-i</option></para> <para><option>output_file</option> - where lwatch output colored data; built-in default is stdout (-), could be overwriten with command line option <option>-o</option></para> ! <para><option>show_unparsed</option> - by default lwatch ignores ! lines which cannot be splitted into date, host, service and message, set this variable to yes if you would like to see those lines; it is the same as command line option <option>-s</option></para> </refsect2> *************** *** 82,87 **** <refsect2> <title>Matching patterns</title> ! <para>There is hidden The Power of Lwatch. You can match input lines again PCRE (Perl Compatible Regular Expression) and change output depends on matching. You can read more about PCRE in pcrepattern(3) (from libpcre) or in perlre(1) (from perl).</para> ! <para>There are two way to define matchin pattern/action. First one is the simple one. Just pattern and one action: <literallayout> /regexp/ action --- 83,88 ---- <refsect2> <title>Matching patterns</title> ! <para>There The True Power of Lwatch is hidden. You can match input lines against PCRE (Perl Compatible Regular Expression) and change output depends on matching. You can read more about PCRE in pcrepattern(3) (from libpcre) or in perlre(1) (from perl).</para> ! <para>There are two ways to define matching pattern/action. First one is the simple one. Just pattern and one action: <literallayout> /regexp/ action *************** *** 97,101 **** </literallayout> </para> ! <para>There is one important thing which you should remember. There is no need to quote / (slash) if you use it inside regexp pattern. For example: <literallayout> --- 98,102 ---- </literallayout> </para> ! <para>There is one important thing you should remember. There is no need to quote / (slash) if you use it inside regexp pattern. For example: <literallayout> *************** *** 106,111 **** </literallayout> </para> ! <para>For every input line message part is matched against all defined patterns, from top to bottom. For every matched ! pattern attached actions are runned until <option>exit</option> is not specified (see below).</para> </refsect2> --- 107,111 ---- </literallayout> </para> ! <para>For every input line message part is matched against all defined patterns, from top to bottom. For every matched pattern attached actions are run until <option>exit</option> is specified (see below).</para> </refsect2> Index: lwatch.sgml =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.sgml,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** lwatch.sgml 11 Aug 2004 12:06:24 -0000 1.18 --- lwatch.sgml 11 Aug 2004 13:37:04 -0000 1.19 *************** *** 170,174 **** in your syslog.conf. Create appropriate fifo and restart syslog, then run lwatch. You can also run lwatch before starting syslog. ! If you dont know how to create named fifo see mknod(1) for details. </para> --- 170,174 ---- in your syslog.conf. Create appropriate fifo and restart syslog, then run lwatch. You can also run lwatch before starting syslog. ! If you don't know how to create named fifo see mknod(1) for details. </para> *************** *** 190,194 **** Lwatch does not support reading from regular files. If you really need this functionality use following command: <literallayout>tail -f /path/to/filename | &bin; -i-</literallayout> ! It could be subject of change in the future. </para> </refsect1> --- 190,194 ---- Lwatch does not support reading from regular files. If you really need this functionality use following command: <literallayout>tail -f /path/to/filename | &bin; -i-</literallayout> ! It could be subject to change in the future. </para> </refsect1> *************** *** 223,230 **** <title>NOTE FROM AUTHOR</title> <para>I have writen this tool for my own needs because perl tools, however flexible, eated a lot of memory and CPU. ! I have found it useful and I share it with the Open Source Community. But stil developing of this software is driven ! by my own needs. So, you could except next release in a year or two ;)</para> ! <para>It would be really nice if you could find some time and spare it for rate this project on FreshMeat (see RESOURCES). Comments are welcomed too. I cannot promise that I will add new features to lwatch immediatly but any positive feedback will raise my motivation level up.</para> ! <para>Thank in advance for your time.</para> </refsect1> --- 223,234 ---- <title>NOTE FROM AUTHOR</title> <para>I have writen this tool for my own needs because perl tools, however flexible, eated a lot of memory and CPU. ! I have found it useful and I share it with the Open Source ! Community. But still, developing of this software is driven ! by my own needs. So, you could expect next release in a year or two ;)</para> ! <para>It would be really nice if you could find some time and spare ! it for rating this project on FreshMeat (see RESOURCES). Comments ! are welcome too. I cannot promise that I will add new features to ! lwatch immediately but any positive feedback will raise my motivation level up.</para> ! <para>Thank you in advance for your time.</para> </refsect1> |
|
From: Artur R. C. <ar...@us...> - 2004-08-11 12:06:35
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10944 Modified Files: ChangeLog TODO Log Message: User manual completed. Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** TODO 10 Aug 2004 12:15:19 -0000 1.33 --- TODO 11 Aug 2004 12:06:24 -0000 1.34 *************** *** 7,11 **** - optional syslog support - debug/error messages should be printed to stderr/syslog ! - more documentation: complete lwatch(1), write lwatch.conf(5), edit INSTALL - option for dumping ./configure flags --- 7,11 ---- - optional syslog support - debug/error messages should be printed to stderr/syslog ! - more documentation: edit INSTALL - option for dumping ./configure flags Index: ChangeLog =================================================================== RCS file: /cvsroot/lwatch/files/ChangeLog,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** ChangeLog 10 Aug 2004 12:15:19 -0000 1.23 --- ChangeLog 11 Aug 2004 12:06:24 -0000 1.24 *************** *** 6,10 **** enabling this option could causes your lwatch to crash (oszer) - versioning of configuration file, throw warning if config file is ! without version 0.3: - --fifo and -f are deprecated, use --input and -i instead (arturcz) --- 6,11 ---- enabling this option could causes your lwatch to crash (oszer) - versioning of configuration file, throw warning if config file is ! without version (arturcz) ! - complete user manual (arturcz) 0.3: - --fifo and -f are deprecated, use --input and -i instead (arturcz) |
|
From: Artur R. C. <ar...@us...> - 2004-08-11 12:06:35
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10944/doc Modified Files: lwatch.1.in lwatch.conf.5.in lwatch.conf.sgml lwatch.sgml Log Message: User manual completed. Index: lwatch.conf.5.in =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.conf.5.in,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lwatch.conf.5.in 10 Aug 2004 14:34:49 -0000 1.1 --- lwatch.conf.5.in 11 Aug 2004 12:06:24 -0000 1.2 *************** *** 54,63 **** .TH "lwatch.conf" "5" .SH "NAME" ! \fBlwatch.conf\fR \(em configuration file for lwatch, syntax highlighting for syslog/syslog-ng file .SH "DESCRIPTION" .PP ! FIXME .PP ! Some useful entities: @CONFDIR@/lwatch.conf @INPUTFILE@ @BINDIR@/lwatch .SH "COPYRIGHT" .PP --- 54,149 ---- .TH "lwatch.conf" "5" .SH "NAME" ! \fBlwatch.conf\fR \(em configuration file for lwatch(1), syntax highlighting for syslog/syslog-ng file .SH "DESCRIPTION" .PP ! Default configuration file for lwatch is @CONFDIR@/lwatch.conf (built-in value), but you can specify another file with \fB-C\fP command line option. Read lwatch(1) for details. ! .SS "Comments" .PP ! Everything from # (hash) to end of line is a comment. ! .SS "General options" ! .PP ! \fBcfg_ver\fP - this is obligatory variable and it must be placed as a first option in config file (note: although it is not enforced now, it shall be in next release of lwatch). This variable contains version of configuration file syntax. Current manual describes version 1. ! .PP ! \fBdate_color\fP - default color of date part ! .PP ! \fBhost_color\fP - default color of hostname part ! .PP ! \fBserv_color\fP - default color of service part ! .PP ! \fBmesg_color\fP - default color of message part ! .PP ! \fBinput_file\fP - where lwatch is reading data from, built-in default is @INPUTFILE@, could be overwriten with command line option \fB-i\fP ! .PP ! \fBoutput_file\fP - where lwatch output colored data; built-in default is stdout (-), could be overwriten with command line option \fB-o\fP ! .PP ! \fBshow_unparsed\fP - by default lwatch ignores lines which cannot be splitted into date, host, service and message, set this variable to yes if you like to see those lines; it is the same as command line option \fB-s\fP ! .SS "Available colors" ! .PP ! To specify color you can use following strings: black red green brown blue magenta cyan lightgray darkgray brightred brightgreen yellow brightblue purple brightcyan white. ! .SS "Matching patterns" ! .PP ! There is hidden The Power of Lwatch. You can match input lines again PCRE (Perl Compatible Regular Expression) and change output depends on matching. You can read more about PCRE in pcrepattern(3) (from libpcre) or in perlre(1) (from perl). ! .PP ! There are two way to define matchin pattern/action. First one is the simple one. Just pattern and one action: ! ! .PP ! .nf ! .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n ! /regexp/ action ! ! .fi ! The second one is more complex, but it allows to specify more than one action or modificator with one pattern: ! ! .PP ! .nf ! .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n ! /regexp/ { ! \ \ \ \ \ \ \ \ action1 ! \ \ \ \ \ \ \ \ action2 ! \ \ \ \ \ \ \ \ ... ! \ \ \ \ \ \ \ \ actionN ! } ! ! .fi ! ! .PP ! There is one important thing which you should remember. There is no need to quote / (slash) if you use it ! inside regexp pattern. For example: ! ! .PP ! .nf ! .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n ! //USR/SBIN/CRON/ { # cron's messages are not important ! \ \ \ \ \ \ \ \ color=blue # display it in blue ! \ \ \ \ \ \ \ \ match_service ! } ! ! .fi ! ! .PP ! For every input line message part is matched against all defined patterns, from top to bottom. For every matched ! pattern attached actions are runned until \fBexit\fP is not specified (see below). ! .SS "Actions and modificators" ! .PP ! \fBdate_color\fP - set date color ! .PP ! \fBmesg_color\fP, \fBcolor\fP - set message color ! .PP ! \fBserv_color\fP - set service name color ! .PP ! \fBhost_color\fP - set hostname color ! .PP ! \fBexit\fP - do not match next patterns ! .PP ! \fBhighlight\fP - highlight matched string with given color ! .PP ! \fBignore\fP - ignore this pattern, do not match next patterns ! .PP ! \fBmatch_host\fP - match hostname insted message ! .PP ! \fBmatch_service\fP - match service name instead message ! .SH "EXAMPLES" ! .PP ! Just look into provided lwatch.conf. .SH "COPYRIGHT" .PP *************** *** 75,78 **** .SH "SEE ALSO" .PP ! lwatch(1) ! .\" created by instant / docbook-to-man, Tue 10 Aug 2004, 16:31 --- 161,164 ---- .SH "SEE ALSO" .PP ! lwatch(1), pcrepattern(3), perlre(1) ! .\" created by instant / docbook-to-man, Wed 11 Aug 2004, 14:04 Index: lwatch.1.in =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.1.in,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** lwatch.1.in 10 Aug 2004 14:34:49 -0000 1.20 --- lwatch.1.in 11 Aug 2004 12:06:24 -0000 1.21 *************** *** 142,149 **** .nf .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n ! tail -f /path/to/filename | lwatch -i- .fi It could be subject of change in the future. .SH "COPYRIGHT" .PP --- 142,154 ---- .nf .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n ! tail -f /path/to/filename | @BINDIR@/lwatch -i- .fi It could be subject of change in the future. + .SH "RESOURCES" + .IP " \(bu" 6 + http://sf.net/projects/lwatch + .IP " \(bu" 6 + http://freshmeat.net/projects/lwatch/ .SH "COPYRIGHT" .PP *************** *** 159,164 **** ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ .SH "SEE ALSO" .PP lwatch.conf(5) ! .\" created by instant / docbook-to-man, Tue 10 Aug 2004, 16:31 --- 164,178 ---- ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ + .SH "NOTE FROM AUTHOR" + .PP + I have writen this tool for my own needs because perl tools, however flexible, eated a lot of memory and CPU. + I have found it useful and I share it with the Open Source Community. But stil developing of this software is driven + by my own needs. So, you could except next release in a year or two ;) + .PP + It would be really nice if you could find some time and spare it for rate this project on FreshMeat (see RESOURCES). Comments are welcomed too. I cannot promise that I will add new features to lwatch immediatly but any positive feedback will raise my motivation level up. + .PP + Thank in advance for your time. .SH "SEE ALSO" .PP lwatch.conf(5) ! .\" created by instant / docbook-to-man, Wed 11 Aug 2004, 14:04 Index: lwatch.conf.sgml =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.conf.sgml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lwatch.conf.sgml 11 Aug 2004 08:20:51 -0000 1.2 --- lwatch.conf.sgml 11 Aug 2004 12:06:24 -0000 1.3 *************** *** 49,68 **** <refsect1> <title>DESCRIPTION</title> ! <para>This manual documents syntax and semantic of lwatch configuration file version 1.</para> <para> - lwatch.config logically divided into two parts: <itemizedlist mark="dash" spacing="compact"> ! <listitem><para>one</para></listitem> ! <listitem><para>two</para></listitem> </itemizedlist> </para> ! <para>Some useful entities: &conf; &infile; &bin;</para> </refsect1> <!-- <itemizedlist mark="dash" spacing="compact"> <listitem><para>fifo must exist</para></listitem> --- 49,136 ---- <refsect1> <title>DESCRIPTION</title> ! <para>Default configuration file for lwatch is &conf; (built-in value), but you can specify another file with <option>-C</option> command line option. Read lwatch(1) for details.</para> ! <!-- <para> <itemizedlist mark="dash" spacing="compact"> ! <listitem><para>match&action settings</para></listitem> </itemizedlist> </para> + --> + <refsect2> + <title>Comments</title> + <para>Everything from # (hash) to end of line is a comment.</para> + </refsect2> + <refsect2> + <title>General options</title> + <para><option>cfg_ver</option> - this is obligatory variable and it must be placed as a first option in config file (note: although it is not enforced now, it shall be in next release of lwatch). This variable contains version of configuration file syntax. Current manual describes version 1.</para> + <para><option>date_color</option> - default color of date part</para> + <para><option>host_color</option> - default color of hostname part</para> + <para><option>serv_color</option> - default color of service part</para> + <para><option>mesg_color</option> - default color of message part</para> + <para><option>input_file</option> - where lwatch is reading data from, built-in default is &infile;, could be overwriten with command line option <option>-i</option></para> + <para><option>output_file</option> - where lwatch output colored data; built-in default is stdout (-), could be overwriten with command line option <option>-o</option></para> + <para><option>show_unparsed</option> - by default lwatch ignores lines which cannot be splitted into date, host, service and message, set this variable to yes if you like to see those lines; it is the same as command line option <option>-s</option></para> + </refsect2> + <refsect2> + <title>Available colors</title> + <para>To specify color you can use following strings: black red green brown blue magenta cyan lightgray darkgray brightred brightgreen yellow brightblue purple brightcyan white.</para> + </refsect2> ! <refsect2> ! <title>Matching patterns</title> ! <para>There is hidden The Power of Lwatch. You can match input lines again PCRE (Perl Compatible Regular Expression) and change output depends on matching. You can read more about PCRE in pcrepattern(3) (from libpcre) or in perlre(1) (from perl).</para> ! <para>There are two way to define matchin pattern/action. First one is the simple one. Just pattern and one action: ! <literallayout> ! /regexp/ action ! </literallayout> ! The second one is more complex, but it allows to specify more than one action or modificator with one pattern: ! <literallayout> ! /regexp/ { ! &tab;action1 ! &tab;action2 ! &tab;... ! &tab;actionN ! } ! </literallayout> ! </para> ! <para>There is one important thing which you should remember. There is no need to quote / (slash) if you use it ! inside regexp pattern. For example: ! <literallayout> ! //USR/SBIN/CRON/ { # cron's messages are not important ! &tab;color=blue # display it in blue ! &tab;match_service ! } ! </literallayout> ! </para> ! <para>For every input line message part is matched against all defined patterns, from top to bottom. For every matched ! pattern attached actions are runned until <option>exit</option> is not specified (see below).</para> ! </refsect2> ! ! <refsect2> ! <title>Actions and modificators</title> ! <para><option>date_color</option> - set date color</para> ! <para><option>mesg_color</option>, <option>color</option> - set message color</para> ! <para><option>serv_color</option> - set service name color</para> ! <para><option>host_color</option> - set hostname color</para> ! <para><option>exit</option> - do not match next patterns</para> ! <para><option>highlight</option> - highlight matched string with given color</para> ! <para><option>ignore</option> - ignore this pattern, do not match next patterns</para> ! <para><option>match_host</option> - match hostname insted message</para> ! <para><option>match_service</option> - match service name instead message</para> ! </refsect2> ! ! </refsect1> ! ! <refsect1> ! <title>EXAMPLES</title> ! ! <para>Just look into provided lwatch.conf.</para> </refsect1> <!-- + <para>Some useful entities: &conf; &infile; &bin;</para> <itemizedlist mark="dash" spacing="compact"> <listitem><para>fifo must exist</para></listitem> *************** *** 99,103 **** <title>SEE ALSO</title> ! <para>lwatch(1)</para> </refsect1> --- 167,171 ---- <title>SEE ALSO</title> ! <para>lwatch(1), pcrepattern(3), perlre(1)</para> </refsect1> Index: lwatch.sgml =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.sgml,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** lwatch.sgml 10 Aug 2004 14:08:09 -0000 1.17 --- lwatch.sgml 11 Aug 2004 12:06:24 -0000 1.18 *************** *** 189,193 **** <para> Lwatch does not support reading from regular files. If you really need this functionality use following command: ! <literallayout>tail -f /path/to/filename | lwatch -i-</literallayout> It could be subject of change in the future. </para> --- 189,193 ---- <para> Lwatch does not support reading from regular files. If you really need this functionality use following command: ! <literallayout>tail -f /path/to/filename | &bin; -i-</literallayout> It could be subject of change in the future. </para> *************** *** 195,198 **** --- 195,206 ---- <refsect1> + <title>RESOURCES</title> + <itemizedlist mark="dash" spacing="compact"> + <listitem><para>http://sf.net/projects/lwatch</para></listitem> + <listitem><para>http://freshmeat.net/projects/lwatch/</para></listitem> + </itemizedlist> + </refsect1> + + <refsect1> <title>COPYRIGHT</title> *************** *** 213,216 **** --- 221,233 ---- <refsect1> + <title>NOTE FROM AUTHOR</title> + <para>I have writen this tool for my own needs because perl tools, however flexible, eated a lot of memory and CPU. + I have found it useful and I share it with the Open Source Community. But stil developing of this software is driven + by my own needs. So, you could except next release in a year or two ;)</para> + <para>It would be really nice if you could find some time and spare it for rate this project on FreshMeat (see RESOURCES). Comments are welcomed too. I cannot promise that I will add new features to lwatch immediatly but any positive feedback will raise my motivation level up.</para> + <para>Thank in advance for your time.</para> + </refsect1> + + <refsect1> <title>SEE ALSO</title> |
|
From: Artur R. C. <ar...@us...> - 2004-08-11 11:01:20
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30657 Modified Files: conf.ent.in Log Message: Entity for eight non-breaking spaces named tab. Index: conf.ent.in =================================================================== RCS file: /cvsroot/lwatch/files/doc/conf.ent.in,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** conf.ent.in 24 Mar 2003 13:43:21 -0000 1.5 --- conf.ent.in 11 Aug 2004 11:01:07 -0000 1.6 *************** *** 30,31 **** --- 30,32 ---- <!ENTITY bin "@BINDIR@/lwatch"> <!ENTITY infile "@INPUTFILE@"> + <!ENTITY tab " "> |
|
From: Artur R. C. <ar...@us...> - 2004-08-11 08:20:59
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5256 Modified Files: lwatch.conf.sgml Log Message: Intermediate commit. Work in progress. Index: lwatch.conf.sgml =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.conf.sgml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lwatch.conf.sgml 10 Aug 2004 14:34:49 -0000 1.1 --- lwatch.conf.sgml 11 Aug 2004 08:20:51 -0000 1.2 *************** *** 44,62 **** <refdescriptor>lwatch.conf</refdescriptor> <refname>lwatch.conf</refname> ! <refpurpose>configuration file for lwatch, syntax highlighting for syslog/syslog-ng file</refpurpose> </refnamediv> - <!-- To chyba tu niepotrzebne - <refsynopsisdiv> - <cmdsynopsis> - FIXME - </cmdsynopsis> - </refsynopsisdiv> - --> - <refsect1> <title>DESCRIPTION</title> - <para>FIXME</para> <para>Some useful entities: &conf; &infile; &bin;</para> --- 44,63 ---- <refdescriptor>lwatch.conf</refdescriptor> <refname>lwatch.conf</refname> ! <refpurpose>configuration file for lwatch(1), syntax highlighting for syslog/syslog-ng file</refpurpose> </refnamediv> <refsect1> <title>DESCRIPTION</title> + <para>This manual documents syntax and semantic of lwatch configuration file version 1.</para> + <para> + lwatch.config logically divided into two parts: + <itemizedlist mark="dash" spacing="compact"> + <listitem><para>one</para></listitem> + <listitem><para>two</para></listitem> + </itemizedlist> + </para> + + <para>Some useful entities: &conf; &infile; &bin;</para> |
|
From: Artur R. C. <ar...@us...> - 2004-08-10 14:35:03
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20149/doc Modified Files: Makefile.am lwatch.1.in Added Files: lwatch.conf.5.in lwatch.conf.sgml Log Message: Stub for lwatch.conf(5) Index: Makefile.am =================================================================== RCS file: /cvsroot/lwatch/files/doc/Makefile.am,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Makefile.am 4 Apr 2003 22:16:34 -0000 1.22 --- Makefile.am 10 Aug 2004 14:34:49 -0000 1.23 *************** *** 1,5 **** ! man_MANS = lwatch.1 ! EXTRA_DIST = lwatch.sgml conf.ent.in lwatch.1.in ! CLEANFILES = lwatch.1 conf.ent lwatch.txt manpage.links manpage.refs sed_prog = -e 's!@CONFDIR\@!$(sysconfdir)!g' -e 's!@BINDIR\@!$(bindir)!g' -e 's!@INPUTFILE\@!$(INPUTFILE)!g' --- 1,5 ---- ! man_MANS = lwatch.1 lwatch.conf.5 ! EXTRA_DIST = lwatch.sgml conf.ent.in lwatch.1.in lwatch.conf.sgml lwatch.conf.5.in ! CLEANFILES = lwatch.1 conf.ent lwatch.txt manpage.links manpage.refs lwatch.conf.5 sed_prog = -e 's!@CONFDIR\@!$(sysconfdir)!g' -e 's!@BINDIR\@!$(bindir)!g' -e 's!@INPUTFILE\@!$(INPUTFILE)!g' *************** *** 9,24 **** lwatch.1: lwatch.sgml conf.ent.in $(SED) $(sed_prog) < conf.ent.in > conf.ent ! $(dbook2man) lwatch.sgml $(dbook2man_out) else lwatch.1: lwatch.1.in Makefile $(SED) $(sed_prog) < lwatch.1.in > lwatch.1 endif lwatch.1.in: lwatch.sgml conf.ent.in cp conf.ent.in conf.ent ! $(dbook2man) lwatch.sgml $(dbook2man_out_in) if HAVE_D2M ! .PHONY: lwatch.1.in man else .PHONY: man --- 9,35 ---- lwatch.1: lwatch.sgml conf.ent.in $(SED) $(sed_prog) < conf.ent.in > conf.ent ! $(dbook2man) lwatch.sgml $(dbook2man_out) lwatch.1 ! ! lwatch.conf.5: lwatch.conf.sgml conf.ent.in ! $(SED) $(sed_prog) < conf.ent.in > conf.ent ! $(dbook2man) lwatch.conf.sgml $(dbook2man_out) lwatch.conf.5 else lwatch.1: lwatch.1.in Makefile $(SED) $(sed_prog) < lwatch.1.in > lwatch.1 + + lwatch.conf.5: lwatch.conf.5.in Makefile + $(SED) $(sed_prog) < lwatch.conf.5.in > lwatch.conf.5 endif lwatch.1.in: lwatch.sgml conf.ent.in cp conf.ent.in conf.ent ! $(dbook2man) lwatch.sgml $(dbook2man_out) lwatch.1.in ! ! lwatch.conf.5.in: lwatch.conf.sgml conf.ent.in ! cp conf.ent.in conf.ent ! $(dbook2man) lwatch.conf.sgml $(dbook2man_out) lwatch.conf.5.in if HAVE_D2M ! .PHONY: lwatch.1.in lwatch.conf.5.in man else .PHONY: man --- NEW FILE: lwatch.conf.5.in --- .\" $Header: /cvsroot/lwatch/files/doc/lwatch.conf.5.in,v 1.1 2004/08/10 14:34:49 arturcz Exp $ .\" .\" transcript compatibility for postscript use. .\" .\" synopsis: .P! <file.ps> .\" .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" '\" t .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "lwatch.conf" "5" .SH "NAME" \fBlwatch.conf\fR \(em configuration file for lwatch, syntax highlighting for syslog/syslog-ng file .SH "DESCRIPTION" .PP FIXME .PP Some useful entities: @CONFDIR@/lwatch.conf @INPUTFILE@ @BINDIR@/lwatch .SH "COPYRIGHT" .PP This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .PP Regular expression support is provided by the PCRE library package, which is open source software, written by Philip Hazel, and copyright by the University of Cambridge, England. This library is available at: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ .SH "SEE ALSO" .PP lwatch(1) .\" created by instant / docbook-to-man, Tue 10 Aug 2004, 16:31 Index: lwatch.1.in =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.1.in,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** lwatch.1.in 10 Aug 2004 14:11:44 -0000 1.19 --- lwatch.1.in 10 Aug 2004 14:34:49 -0000 1.20 *************** *** 162,164 **** .PP lwatch.conf(5) ! .\" created by instant / docbook-to-man, Tue 10 Aug 2004, 16:10 --- 162,164 ---- .PP lwatch.conf(5) ! .\" created by instant / docbook-to-man, Tue 10 Aug 2004, 16:31 --- NEW FILE: lwatch.conf.sgml --- <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!ENTITY % metaconf SYSTEM "conf.ent"> %metaconf; ] > <!-- This file is part of the LogWatcher tool. Copyright (C) 2002,2003,2004 Artur Robert Czechowski The LogWatcher is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The LogWatcher is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the LogWatcher; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Artur R. Czechowski <ar...@he...> http://hell.pl/arturcz/ $Id: lwatch.conf.sgml,v 1.1 2004/08/10 14:34:49 arturcz Exp $ $Source: /cvsroot/lwatch/files/doc/lwatch.conf.sgml,v $ --> <refentry> <refmeta> <refentrytitle>lwatch.conf</refentrytitle> <manvolnum>5</manvolnum> </refmeta> <refnamediv> <refdescriptor>lwatch.conf</refdescriptor> <refname>lwatch.conf</refname> <refpurpose>configuration file for lwatch, syntax highlighting for syslog/syslog-ng file</refpurpose> </refnamediv> <!-- To chyba tu niepotrzebne <refsynopsisdiv> <cmdsynopsis> FIXME </cmdsynopsis> </refsynopsisdiv> --> <refsect1> <title>DESCRIPTION</title> <para>FIXME</para> <para>Some useful entities: &conf; &infile; &bin;</para> </refsect1> <!-- <itemizedlist mark="dash" spacing="compact"> <listitem><para>fifo must exist</para></listitem> <listitem><para>proper name must be put in &conf; or given with -i comand line option</para></listitem> </itemizedlist> </para> <para>In syslog-ng you can run lwatch directly from syslog, i.e.: <literallayout> log { source(src); destination(console_all);}; destination console_all {program("&bin; -i- -o/dev/tty11"); }; </literallayout> </para> --> <refsect1> <title>COPYRIGHT</title> <para>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. </para> <para> Regular expression support is provided by the PCRE library package, which is open source software, written by Philip Hazel, and copyright by the University of Cambridge, England. This library is available at: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ </para> </refsect1> <refsect1> <title>SEE ALSO</title> <para>lwatch(1)</para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:2 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:nil sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: --> |
|
From: Artur R. C. <ar...@us...> - 2004-08-10 14:34:57
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20149 Modified Files: configure.ac Log Message: Stub for lwatch.conf(5) Index: configure.ac =================================================================== RCS file: /cvsroot/lwatch/files/configure.ac,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** configure.ac 11 Mar 2004 23:24:58 -0000 1.41 --- configure.ac 10 Aug 2004 14:34:48 -0000 1.42 *************** *** 87,97 **** AC_MSG_WARN([docbook-to-man not found, using lwatch.1.in stub]) else ! dbook2man_out="> lwatch.1" ! dbook2man_out_in="> lwatch.1.in" fi AC_SUBST(dbook2man_out) - AC_SUBST(dbook2man_out_in) if test "$dbook2man" != "no"; then ! AC_MSG_NOTICE([sgml->man: ${dbook2man} lwatch.sgml ${dbook2man_out}]) fi --- 87,95 ---- AC_MSG_WARN([docbook-to-man not found, using lwatch.1.in stub]) else ! dbook2man_out=">" fi AC_SUBST(dbook2man_out) if test "$dbook2man" != "no"; then ! AC_MSG_NOTICE([sgml->man: ${dbook2man} file.sgml ${dbook2man_out} file.man]) fi |