File: NEWS

package info (click to toggle)
metalog 20260105-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 324 kB
  • sloc: ansic: 2,780; sh: 49; makefile: 27
file content (167 lines) | stat: -rw-r--r-- 6,855 bytes parent folder | download
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
* Version 20260105
 - andy-bower:
 -- replace scandirat() with scandir() for POSIX compatibility

* Version 20260103
 - SimonGottsch:
 -- support different logging formats for local and remote logging (log_format, remote_format):
    legacy_timestamp (the current format, still default), legacy, rfc3164, rfc5424
 -- support multiple remote syslog servers (remote_host, remote_port, remote_log, remote_format)
 -- introduce optional severity levels (log_severity); optionally filter logs sent to remote servers (remote_severity_level)
 - andy-bower:
 -- fix config directory feature: config files are sorted now alphanumerically to get determined behaviour
 -- support multiple sockets as logging source, e.g. for chrooted or containerized applications (socket)
 -- introduce optional native log compression for rotated logs (compress), when linked with zlib (--without-compress)
 -- introduce delayed log compression (compress_delay), so the latest log(s) stay uncompressed
 -- some clean ups, e.g. get rid of PATH_MAX
 - m-kress:
 -- introduce config test parameter (--test-config or -t)

* Version 20230719
 - m-kress:
 -- Do not substitute trailing control characters of a log line, but eliminate them completelly.
    Be aware, that this change will break existing filters that rely on the trailing underscore!
 -- note in config file and man page: comments must be started with # only at the beginning of a line
 -- add "configdir" to config, which allows reading additional config files ending with *.conf

* Version 20230707
 - m-kress:
 -- add missing brackets to harmonize code
 -- check (stat) the program path given as command and ignore the command, if not existing
 - auouymous:
 -- fix behavior of (program_)?regex and (program_)?neg_regex conditions
 - LonEox78:
 -- pointer to directory name was not initialized, so eventually weird directories were created
 - orbea:
 -- replace RETSIGTYPE with void
 -- silence obsolete warnings

* Version 20220214
 - jovanlanik:
 -- port to pcre2
 -- doku has been updated, removed a lot of inconsistencies
 -- add an option to change group
 -- add permissions to configuration
 -- remove unused errptr

* Version 20200113
 - avoid writing logs to STDOUT twice
 - add line feed to sent UDP log entries
 - rkonrad:
 -- add support for nanoseconds in time stamp

* Version 20181125
 - closed memory leaks for remote syslog

* Version 2018510
 - orbea:
 -- clean up automake files

* Version 20180327
 - minor fix in man page

* Version 20180326
 - moved to GitHub hvisage/metalog
 - m-kress:
 -- add remote logging to a log server via UDP
 -- silences a minor compiler warning (unused return value) and a missing cast
 -- add the special value "NONE" as parameter for the keyword "logdir". A log entry with "NONE will not be written to a log file.

* Version 3
 - fix interaction between "postrotate_cmd" and "logdir" (by Matt Whitlock
   #2887065)
 - switch to pkg-config for pcre look up
 - update bundled gnulib code

* Version 2
 - fix long standing typo where the minute field in the rotated log was
   replaced with the current month: %m instead of %M (by dorian33 #3027782)
 - add support for rate limiting of messages with the new "ratelimit" and
   "ratelimit_burst" keywords (by Martin von Gagern #2777251)
 - standardize warning/error output

* Version 1
 - switch over to using daemon() by default
 - fix stupid semicolon typo causing breaks on all lines (Gentoo Bug #258830)
 - add "flush" keyword to control flushing per log output (by Martin von
   Gagern #2549231)
 - add --with-unicode option to control unicode mangling #2669923

* Version 0.9
 - add --no-kernel option by Adrian Perez de Castro to disable kernel message
   monitoring (#1727129 and #1751757)
 - convert source tree to use gnulib rather than random local replacements
 - fix by Amigac to not skip the "command" line when "logdir" and "break" are
   both in use (#2401520)
 - add "stamp_fmt" keyword to control the timestamp format in messages (based
   partially on work from cJ #1910360 and Philip White #1690349, and for
   #1232638)
 - make sure to flush all buffers on exit in buffered mode as pointed out by
   Ingo Bormuth (Gentoo Bug #233794)

* Version 0.8
 - tweak signal handlers some more (#1655169)
 - when dequeuing messages from the signal pipe, abort if malloc() failed
 - add hal filter to default metalog.conf (Gentoo Bug #174847)
 - add support from Eric Schwimmer / Debian for a new "postrotate_cmd"
   option (#1706160)
 - fix from Eric Schwimmer for div by zero error when maxtime = 0 (#1706158)
 - add support from Eric Schwimmer for controlling the "Last output repeated
   N times" message (#1706164)
 - use %e rather than %d for logging dates (Gentoo Bug #177258)

* Version 0.8-rc4
 - fix typo in previous change when checking the return of strftime()
   as reported by Mark Wagner.

* Version 0.8-rc3
 - use strftime() rather than printing out time values ourself so we get
   localization for free via the system libc and so we don't have to
   manipulate time structs ourselves (#1054478).

* Version 0.8-rc2
 - config file in package updated (pull fixes from Gentoo)
 - cleanup code a bit
 - make --help more [non-root] friendly
 - change default 'command spawn' messages to off (use --verbose to
   get back old noisy behavior)
 - check for setprogname() so we build on FreeBSD 6.1 (#1557585, fix
   from Diego Petteno)
 - fix error in memory allocation when using multiple facilities #1217560
 - queue up messages in signal handlers via a pipe so that we don't hit
   deadlocks by using functions that are unsafe for use inside these states

* Version 0.8-rc1
 - new keyword: break
 - config file in package updated (synch with break keyword)
 - kernel logging problem fix
 - race condition fix
 - metalog.conf man page added
 - log rotation can be disabled with maxsize or maxtime = 0

* Version 0.7
 - Logging is now synchronous by default. Use --async to get back to
   the asynchronous behavior.
 - Duplicate messages are now only logged once.
 - Negative regexes were implemented and programs can now also be
   matched against regexes. See the new neg_regex, program_regex and
   program_neg_regex keywords.
 - The maximum urgency can now be specified for each block. A new
   keyword, "maximum" completes "minimum".
 - A PID file is now created. It defaults to /var/run/metalog.pid but
   it can be changed with the --pidfile switch.
 - The location of the configuration file can now be changed with
   --with-configfile.
 - The code was cleaned up.

* Version 0.7-beta
 - This is a transitional version with new features contributed by
   Hendrick Visage.

* Version 0.6
 - Metalog is now working on Linux, OpenBSD, FreeBSD and NetBSD.
 - New --consolelevel option to set up the console level on Linux.
 - RPM packages are now available.

* Version 0.5
 - First public release.