aboutsummaryrefslogtreecommitdiff
path: root/README
blob: a55adb96a7ce4a6e417c50300886e028ada30858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
README for addts

* Overview

Addts is a small UNIX filter that copies its input to the output line by
line, adding current timestamp at the beginning of each line.  It was
designed for use with Apache forensic log module.  The typical usage is:

  ForensicLog "|/usr/bin/addts -a /var/log/httpd/forensic.log"

See the accompanying man page for a detailed discussion.

* Compiling

Run make to build the utility.  Run 'make install' as root to install
it.  The following make variables can be used

** PREFIX
  Installation prefix.
  Defaults to /usr/local.

** BINDIR
  Directory to install the addts binary to.
  Defaults to $(PREFIX)/bin

** MANDIR
  Root directory for manpage hierarchy.
  Defaults to $(PREFIX)/share/man

** MAN1DIR
  Directory for section 1 manpages.
  Defaults to $(MANDIR)/man1

For example, to install it to /usr, use

  make install PREFIX=/usr

* Downloads

See https://puszcza.gnu.org.ua/projects/addts for download pointers,
including Git repository URLs.

* License

Copyright (C) 2018, 2019 Sergey Poznyakoff

Addts 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 3, or (at your option)
any later version.

Addts 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 addts.  If not, see <http://www.gnu.org/licenses/>.


Local variables:
mode: outline
paragraph-separate: "[  ]*$"
end:



Return to:

Send suggestions and report system problems to the System administrator.