Bot releases are visible (Hide)
syslog.conf
: misplaced continuation character in exampleLOG_CRON2
and LOG_AUDIT
, including facilitynames[]
, issue #86listen
directive, issue #90[fdd5::6979:c0ff:ee87:8f92]:123
style addressessyslogd
waslisten
directive in .conf filesPublished by github-actions[bot] 3 months ago
.conf
files from include directories sorted alphabeticallySIGTERM
, regression from v2.6.0Published by github-actions[bot] 3 months ago
rotate_size SIZE
and rotate_count COUNT
rotate=0:0
listen addr:port
to .conf file, issue #83Fix #72: loss of raw kernel log messages to console.
This adds a new command line flag -l
to keep kernel logs to console.
A feature requested by embedded Linux users who often navigate issues
by console output
With properly configured kernel logging, e.g., quiet
, only error and
above in severity is logged by the kernel directly to the console. So
for most users this would be a useful behavior
Fix #81: blocking delay for unreachable remote log server. If DNS
name is used as remote log server, the system may not be able to
resolve it to an IP address (for various reasons). This may lead
to blocking delays in syslogd
causing loss of log messages
Fix #82: retry creating UNIX and network sockets on failure. This now
allows syslogd to "discover" and bind to addresses that are not yet
set when it starts up
Published by github-actions[bot] about 1 year ago
Minor fix release.
/proc/kmsg
,Published by github-actions[bot] about 1 year ago
Minor fix release.
interval / 2
minutes.1 / 2
minutes, i.e.g, 30 seconds.Published by github-actions[bot] over 1 year ago
-c
and -cc
to disable log compression.-c
disables compression for pipes, another -c
(or -cc
)syslog.conf
now logs debug messages again (disabled inKillMode=process
from systemd unit filePublished by github-actions[bot] about 2 years ago
-T
should use local time for remotePublished by github-actions[bot] about 2 years ago
syslogd -v
and logger -v
is the same, soPublished by github-actions[bot] about 2 years ago
logger
default severity, use .notice, like other loggerproc[pid]:
, or plain :
, and the messagelogger
messages read from command linePublished by github-actions[bot] about 2 years ago
debian/
directory (moved to separate branch), to easelogger
:
-h HOST
and -P PORT
-b
, mostly for remote-H NAME
-I PID
\n
. Instead, preserve kernel protective\n
embedded in a message by a\x0a
. Found and fixed bygettimeofday()
error handling to use same fallback to time()
LOG_NLOG
is setLOG_PTRIM
when logging to stderrPublished by github-actions[bot] over 2 years ago
secure_mode=[0,1,2]
to syslog.conf, same as -s
but easier to use and activate with SIGHUPsecure_mode=1
(only log to remote servers) in default syslog.conf
syslog.conf
, from /var/log/syslog
-K
to -t
for trusting kernel timestamp, issue #42-K
to disable kernel logging, issue #48notify PATH
option to syslog.conf, for calling an external script on log rotation, by Steffen Nurpmeso, issue #45-b
option description-H
option to usage text-8
command line option to allow 8-bit data to be logged -- this is a temporary fix until we have support for parsing the Unicode BOM, as defined in RFC5424Published by github-actions[bot] almost 3 years ago
logger -k
, early log to /dev/kmsg
. Useful when/dev/kmsg
EINVAL
from kernel, caused warning message at first startup/dev/log
syslogd -C file
to use file
for caching/run/syslogd.cache
./run
, is a RAM disk on modern systemssyslogd v2.2.3: restart.
-v
as verbose mode, is actually versionres_init()
-P fn
and -C fn
-K
) to always trust kernel timestamp. Bysyslogd
only trusts the kernel timestamp for the initialtime_t
systemsEOVERFLOW
from gettimeofday()
on Jan 19, 2038NULL
pointers to internal logit()
function, only triggered\m
with \n
(missing newline) in logger
usage textPackages for Debian 10, or later, and compatible Ubuntu releases, available at https://deb.troglobit.com/
Published by troglobit over 3 years ago
Bug fix release. The focus is still on tackling the fallout resulting in migrating from the old kernel log interface in /proc/kmsg
to /dev/kmsg
, introduced in v2.2.0.
syslog()
API in the C library is used, which may not necessarily set the timestamp. When sysklogd infers timestamp it was offset by the number of years since 1969, i.e., boot_time
/var/run/syslogd.cache
, which saves the last seen/logged sequence id read from /dev/kmsg
syslogd(8)
manual page name of the syslogd PID filePublished by troglobit over 3 years ago
Bug fix release.
tzset()
, on init/SIGHUPsyslogd.service
use /etc/default/syslogd
to disablePublished by troglobit over 3 years ago
Bug fix release.
EPIPE
when reading from /dev/kmsg
if the kernel internal buffers are overrun. EPIPE
is a heads-up message to/dev/kmsg
are formatted in a different way than its predecessor /proc/kmsg
. sysklogd v2.2.0 failed to parse the priority field correctly, which caused matching problems with rules in /etc/syslog.conf
/
to /usr/local
, which is the default for GNU configure based applications%m
gnuism from internal log macro (portability)Published by troglobit almost 4 years ago
Minor feature and bug fix release.
/dev/kmsg
instead of /proc/kmsg
on LinuxO_CLOEXEC
not available on all systemsPublished by troglobit over 4 years ago
Bug fix release.
-fPIC
. This should be the final parallel build issue.Published by troglobit almost 5 years ago
Bug fix release.
.NOTPARALLEL
in v2.1. This v2 fix is a refactor of src/Makefile.am
which removes libcompat
and use the same objects for linking both syslogd
and the user libsyslog
API. Yet still protecting against symbol poisoningsendmsg()
fails was the same as that if syslogd
fails to resolve the IP from a DNS name. The fix is to just let sendmsg()
retry on the next syslog message for all benign/common network errors; EHOSTUNREACHABLE
, ENETUNREACH
, etc.Published by troglobit almost 5 years ago
Relicensed under the 3-clause BSD license.
klogd
removed, replaced by native syslogd
functionalitysyslogd
and syslog.conf
man pages, both under the 3-clause BSD license.klogd
removed and the original man pages replaced with FreeBSD versions, the only remaining GPL'ed material was the build system, which the copyright owner (undersigned) agrees to change to BSD as well. Hence, the GNU GPL could be dropped in favor of 3-clause BSDsyslogd
on Linux now calls klogctl()
to disable kernel logging to consolesyslogd
would consider that log file to have a date in the future. This only affected buffering of multiple messages, and -- MARK --
so most users never would have noticedsyslogd
started without -F
snprintf()
rather than sprintf()
in log rotation#ifdef
for checking on Linux or notPublished by troglobit almost 5 years ago
domark()
timer, regardless of -m interval
setting, it is used for internal housekeeping, runs every 15 secdomark()
-d
is given on the command line-F
, as alias for -n
, to klogd for compat. with syslogd@FQDN
previous releases of syslogd gave up after 10 tries. In many industrial cases intermittent access to the DNS is very likely, so this release includes a fix to retry the IP address lookup forever. The interval for retries is configurablelogmsg()
function/dev/console
during reconfiguration, i.e. after initial start