aboutsummaryrefslogtreecommitdiff
path: root/src/log.c
AgeCommit message (Collapse)AuthorFiles
2009-04-27Provide i18n markersSergey Poznyakoff1
2009-04-25More bugfixes.Sergey Poznyakoff1
* Makefile.am (SUBDIRS): Add etc. * etc/Makefile.am: New file. * src/html.gram.y (create_html): Bugfixes. (add_value): Replace existing entry, if found. * src/log.c (log_facility, log_tag, log_print_severity): New variables. * src/main.c (sig_child): Collect all terminated subprocesses. (main): Redo syslog initialization. Use daemon. * src/output.c (add_stats): Exit immediately if the queue is empty. (update_output): Redefine some symbols unconditionally. * src/readconfig.c: Logging configuration. * src/tagr.h (log_facility, log_tag, log_print_severity): New variables.
2009-04-25Switch to GPLv3+Sergey Poznyakoff1
2009-04-22Bugfixes.Sergey Poznyakoff1
* src/log.c (vlogmsg): New function. (logmsg, verbose): Call vlogmsg. * src/main.c: Implement `reader' mode. * src/readconfig.c (readconfig): Initialize preprocessor command line before starting parsing. Initialize sd_base once the parsing finished. * src/report.c (report): Take timestamp as the second argument. * src/report.h: Likewise.
2009-04-21Use "grecs" submodule for configuration parsing.Sergey Poznyakoff1
* Makefile.am (ACLOCAL_AMFLAGS): Add -I grecs/am. (SUBDIRS): grecs (ChangeLog): New rule. * ChangeLog: Rename to ChangeLog.svn * doc: Rename to etc. * etc/upgrade.awk: New file. * bootstrap.conf: Initialize "grecs". * configure.ac: Call GRECS_SETUP. (AC_CONFIG_FILES): Add grecs/Makefile and grecs/src/Makefile. * gnulib.modules: Add gitlog-to-changelog and sysexits. * src/Makefile.am (LDADD, INCLUDES): Add grecs. (AM_CPPFLAGS): Define additional variables. * src/log.c (use_stderr): Remove. Use log_to_stderr instead. (grecs_print_diag): New function. * src/main.c: Redo command-line support. (listen_sockaddr): New global. * src/readconfig.c: Rewrite. * src/tagr.h: Include sysexits.h and grecs.h (listen_sockaddr, log_to_stderr, pidfile): New externs. * src/main.c, src/stat.c, src/report.c: Use sysexits codes.
2008-07-11Reorganize project directory layout.Sergey Poznyakoff1
* README-hacking: New file. * src: New directory * src/Makefile.am: New file. * graph.c, readconfig.c, tagr.h, log.c, report.h, queue.c: Move to src * main.c: Move to src, fix a minor bug in main. * html.l: Move to src/html.lex.l. * html.y: Move to src/html.gram.y. * lib/argcv.c, lib/argcv.h: Move to src. * config, INSTALL: Remove * README_hacking: New file. * configure.ac, Makefile.am: Update for new gnulib and new directory structure. * bootstrap: Update from gnulib. * gnulib.modules: New file. * bootstrap.conf: New file. git-svn-id: file:///svnroot/tagr/trunk@89 7c378d0d-a4e4-4a64-9229-dfce8bfd23d4

Return to:

Send suggestions and report system problems to the System administrator.