Skip to content

Commit

Permalink
Merge pull request #4780 from syslog-ng/version/4.6.0
Browse files Browse the repository at this point in the history
Version: 4.6.0
  • Loading branch information
bazsi committed Jan 25, 2024
2 parents 0fa3da3 + fb3ad13 commit 0ca247c
Show file tree
Hide file tree
Showing 44 changed files with 405 additions and 438 deletions.
529 changes: 358 additions & 171 deletions NEWS.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -18,7 +18,7 @@ applications or forwarded by systemd) and writes everything to a single
file:

```
@version: 4.5
@version: 4.6
@include "scl.conf"
log {
Expand All @@ -30,7 +30,7 @@ log {
This one additionally processes logs from the network (TCP/514 by default):

```
@version: 4.5
@version: 4.6
@include "scl.conf"
log {
Expand All @@ -44,7 +44,7 @@ log {
This config is designed for structured/application logging, using local submission via JSON, and outputting in key=value format:

```
@version: 4.5
@version: 4.6
@include "scl.conf"
log {
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
@@ -1 +1 @@
4.5.0
4.6.0
2 changes: 1 addition & 1 deletion contrib/openbsd-packaging/syslog-ng.conf
Expand Up @@ -2,7 +2,7 @@
# This should provide behavior similar to OpenBSD's syslog.conf(5).
# 2021-05-24 millert@openbsd.org

@version: 4.5
@version: 4.6
@requires openbsd

options {
Expand Down
4 changes: 2 additions & 2 deletions doc/man/dqtool.1.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>dqtool</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down Expand Up @@ -117,7 +117,7 @@ Mar 3 10:52:05 tristram localprg[1234]: seq: 0000011631, runid: 1267609923, sta
<link linkend="syslog-ng.8"><command>syslog-ng</command>(8)</link>
</para>
<note version="5.0">
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide"><command>The 4.5 Administrator Guide</command></link></para>
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide"><command>The 4.6 Administrator Guide</command></link></para>
<para>If you experience any problems or need help with syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"><command>syslog-ng mailing list</command></link>.</para>
<para>For news and notifications about of syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://syslog-ng.org/blogs/"><command>syslog-ng blogs</command></link>.</para>
</note>
Expand Down
4 changes: 2 additions & 2 deletions doc/man/loggen.1.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>loggen</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down Expand Up @@ -280,7 +280,7 @@
<link linkend="syslog-ng.conf.5"><command>syslog-ng.conf</command>(5)</link>
</para>
<note version="5.0">
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide"><command>The 4.5 Administrator Guide</command></link></para>
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide"><command>The 4.6 Administrator Guide</command></link></para>
<para>If you experience any problems or need help with syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"><command>syslog-ng mailing list</command></link>.</para>
<para>For news and notifications about of syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://syslog-ng.org/blogs/"><command>syslog-ng blogs</command></link>.</para>
</note>
Expand Down
6 changes: 3 additions & 3 deletions doc/man/pdbtool.1.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>pdbtool</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down Expand Up @@ -377,7 +377,7 @@
</term>
<listitem>
<para>A pattern is added to the output pattern database if at least the specified percentage of log messages from the input logfile match the pattern. For example, if the input logfile contains 1000 log messages and the <parameter>--support=3.0</parameter> option is used, a pattern is created only if the pattern matches at least 3 percent of the log messages (that is, 30 log messages). If patternize does not create enough patterns, try to decrease the support value.</para>
<para>Default value: <parameter>4.5</parameter></para>
<para>Default value: <parameter>4.6</parameter></para>
</listitem>
</varlistentry>
<varlistentry version="5.0">
Expand Down Expand Up @@ -467,7 +467,7 @@
<link linkend="syslog-ng.8"><command>syslog-ng</command>(8)</link>
</para>
<note version="5.0">
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.5 Administrator Guide</command></link></para>
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.6 Administrator Guide</command></link></para>
<para>If you experience any problems or need help with syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"><command>syslog-ng mailing list</command></link>.</para>
<para>For news and notifications about of syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://syslog-ng.org/blogs/"><command>syslog-ng blogs</command></link>.</para>
</note>
Expand Down
4 changes: 2 additions & 2 deletions doc/man/persist-tool.1.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>persist-tool</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down Expand Up @@ -130,7 +130,7 @@ affile_sd_curpos(/var/aaa.txt) OK</synopsis>
<para><link linkend="syslog-ng.conf.5"> <command>syslog-ng.conf</command>(5)</link></para>
<para><link linkend="syslog-ng.8"> <command>syslog-ng</command>(8)</link></para>
<note version="5.0">
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.5 Administrator Guide</command></link></para>
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.6 Administrator Guide</command></link></para>
<para>If you experience any problems or need help with syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"><command>syslog-ng mailing list</command></link>.</para>
<para>For news and notifications about of syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://syslog-ng.org/blogs/"><command>syslog-ng blogs</command></link>.</para>
</note>
Expand Down
4 changes: 2 additions & 2 deletions doc/man/secure-logging.7.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>secure-logging</refentrytitle>
<manvolnum>7</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down Expand Up @@ -190,7 +190,7 @@ AgAAAAAAAAA=:5UVybnKL1EAbgC4CLfd8HpgurjREf4LEN61/yWHSD2hbXjRD4QmQdtbwguT1chzdItK
# entries will be logged to a single file called /var/log/messages.slog
#
@version: 4.5
@version: 4.6
@include "scl.conf"
source s_local {
Expand Down
2 changes: 1 addition & 1 deletion doc/man/slogencrypt.1.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>slogencrypt</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down
2 changes: 1 addition & 1 deletion doc/man/slogkey.1.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>slogkey</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down
2 changes: 1 addition & 1 deletion doc/man/slogverify.1.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>slogverify</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down
4 changes: 2 additions & 2 deletions doc/man/syslog-ng-ctl.1.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>syslog-ng-ctl</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down Expand Up @@ -178,7 +178,7 @@ destination;df_facility_dot_err;;a;processed;0</synopsis>
<link linkend="syslog-ng.8"><command>syslog-ng</command>(8)</link>
</para>
<note version="5.0">
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.5 Administrator Guide</command></link></para>
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.6 Administrator Guide</command></link></para>
<para>If you experience any problems or need help with syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"><command>syslog-ng mailing list</command></link>.</para>
<para>For news and notifications about of syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://syslog-ng.org/blogs/"><command>syslog-ng blogs</command></link>.</para>
</note>
Expand Down
4 changes: 2 additions & 2 deletions doc/man/syslog-ng-debun.1.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>syslog-ng-debun</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down Expand Up @@ -242,7 +242,7 @@
<link linkend="syslog-ng.conf.5"><command>syslog-ng.conf</command>(5)</link>
</para>
<note version="5.0">
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.5 Administrator Guide</command></link></para>
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.6 Administrator Guide</command></link></para>
<para>If you experience any problems or need help with syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"><command>syslog-ng mailing list</command></link>.</para>
<para>For news and notifications about of syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://syslog-ng.org/blogs/"><command>syslog-ng blogs</command></link>.</para>
</note>
Expand Down
6 changes: 3 additions & 3 deletions doc/man/syslog-ng.8.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>syslog-ng</refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down Expand Up @@ -306,7 +306,7 @@
</indexterm>
</term>
<listitem>
<para>Sets the number of worker threads can use, including the main thread. Note that certain operations in can use threads that are not limited by this option. This setting has effect only when is running in multithreaded mode. Available only in and later. See <command>The 4.5 Administrator Guide</command> for details.</para>
<para>Sets the number of worker threads can use, including the main thread. Note that certain operations in can use threads that are not limited by this option. This setting has effect only when is running in multithreaded mode. Available only in and later. See <command>The 4.6 Administrator Guide</command> for details.</para>
</listitem>
</varlistentry>
</variablelist>
Expand All @@ -326,7 +326,7 @@
<link linkend="syslog-ng.conf.5"><command>syslog-ng.conf</command>(5)</link>
</para>
<note version="5.0">
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.5 Administrator Guide</command></link></para>
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.6 Administrator Guide</command></link></para>
<para>If you experience any problems or need help with syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"><command>syslog-ng mailing list</command></link>.</para>
<para>For news and notifications about of syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://syslog-ng.org/blogs/"><command>syslog-ng blogs</command></link>.</para>
</note>
Expand Down
4 changes: 2 additions & 2 deletions doc/man/syslog-ng.conf.5.xml
Expand Up @@ -30,7 +30,7 @@
<refmeta>
<refentrytitle>syslog-ng.conf</refentrytitle>
<manvolnum>5</manvolnum>
<refmiscinfo class="version">4.5</refmiscinfo>
<refmiscinfo class="version">4.6</refmiscinfo>
<refmiscinfo class="source"/>
</refmeta>
<refnamediv>
Expand Down Expand Up @@ -461,7 +461,7 @@ log { source(s_localhost); destination(d_tcp); };</synopsis>
<link linkend="syslog-ng.8"><command>syslog-ng</command>(8)</link>
</para>
<note version="5.0">
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.5 Administrator Guide</command></link></para>
<para>For the detailed documentation of see <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html"><command>The 4.6 Administrator Guide</command></link></para>
<para>If you experience any problems or need help with syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"><command>syslog-ng mailing list</command></link>.</para>
<para>For news and notifications about of syslog-ng, visit the <link xmlns:ns1="http://www.w3.org/1999/xlink" ns1:href="https://syslog-ng.org/blogs/"><command>syslog-ng blogs</command></link>.</para>
</note>
Expand Down
2 changes: 1 addition & 1 deletion docker/syslog-ng.conf
Expand Up @@ -10,7 +10,7 @@
# docker run ... -v "$PWD/syslog-ng.conf":/etc/syslog-ng/syslog-ng.conf
#

@version: 4.5
@version: 4.6
@include "scl.conf"

source s_local {
Expand Down
8 changes: 5 additions & 3 deletions lib/versioning.h
Expand Up @@ -140,6 +140,7 @@
#define VERSION_4_3 "syslog-ng 4.3"
#define VERSION_4_4 "syslog-ng 4.4"
#define VERSION_4_5 "syslog-ng 4.5"
#define VERSION_4_6 "syslog-ng 4.6"

/* VERSION_VALUE_* references versions as integers to be compared against stuff like cfg->user_version */
/* VERSION_STR_* references versions as strings to be shown to the user */
Expand Down Expand Up @@ -189,11 +190,12 @@
#define VERSION_VALUE_4_3 0x0403
#define VERSION_VALUE_4_4 0x0404
#define VERSION_VALUE_4_5 0x0405
#define VERSION_VALUE_4_6 0x0406

/* config version code, in the same format as GlobalConfig->version */
#define VERSION_VALUE_CURRENT VERSION_VALUE_4_5
#define VERSION_STR_CURRENT "4.5"
#define VERSION_PRODUCT_CURRENT VERSION_4_5
#define VERSION_VALUE_CURRENT VERSION_VALUE_4_6
#define VERSION_STR_CURRENT "4.6"
#define VERSION_PRODUCT_CURRENT VERSION_4_6

/* this value points to the last syslog-ng version where we changed the
* meaning of any setting in the configuration file. Basically, it is the
Expand Down
1 change: 0 additions & 1 deletion news/bugfix-4744.md

This file was deleted.

1 change: 0 additions & 1 deletion news/bugfix-4750.md

This file was deleted.

1 change: 0 additions & 1 deletion news/bugfix-4759.md

This file was deleted.

1 change: 0 additions & 1 deletion news/bugfix-4790.md

This file was deleted.

3 changes: 0 additions & 3 deletions news/developer-note-4774.md

This file was deleted.

0 comments on commit 0ca247c

Please sign in to comment.