aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
AgeCommit message (Collapse)Author
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-02-22Fix from Paul Kortekaas for syslog -C option, size should be in kB.Glenn L McGrath
2003-12-19Patch from Fillod Stephane:Eric Andersen
You will find in the attached file "syslog.patch" a patch which adds config options to set at compile time the size of the circular buffer, and some documentation update.
2003-12-15Get vfork_daemon_rexec working under uclinuxRuss Dill
2003-10-09Arnd Ben Otto writes:Eric Andersen
Hi Eric I have written a small patch for the Busybox syslogd. With this patch one can limit the size of the messagfile. As soon as the limit is reached the syslogd can rotate or purge the messagefile(s) on his own. There is no necessity to use an external rotatescript. Even if logread does something similar, its very handy to have some messagefile after your box crash. I wrote this patch initial vor BB 0.6x where no cron daemon was avail. Now I adapted it for the new Version and i hope it is still useful. At least I still use it :-) bye Arnd
2003-09-26add size parameter to syslogd -CGlenn L McGrath
Patch by Padraig, resubmitted by Fillod Stephane
2003-09-10Vodz, last_patch_104Glenn L McGrath
2003-08-29Vodz, last patch 104Glenn L McGrath
2003-07-28last_patch95 from vodz:Eric Andersen
Hi. Last patch have new libbb function vfork_rexec() for can use daemon() to uClinux system. This patched daemons: syslog, klogd, inetd, crond. This not tested! I havn`t this systems. Also. Previous patch for feature request MD5 crypt password for httpd don`t sended to this mailist on 07/15/03 (mailist have Pytom module problem?). The previous patch included, and have testing. --w vodz
2003-07-22eliminate DOSTATIC, DODEBUG, etc and name them sensiblyEric Andersen
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-05-23oopsEric Andersen
2003-05-23This patch from Vitezslav Batrla, is a cleaner fix for theEric Andersen
problem with syslogd logging the '<' char.
2003-05-16Apply patch from Georg Magschok to fix syslog behavior so that theEric Andersen
'>' charactor can be logged, per rfc3164. Also, a small patch from me to fix it so we use MAXLINE when allocating the buffer, which is consistant with use everywhere else. This is needed since uClibc defines BUFSIZE as 255, causing lines to be truncated at 255...
2003-03-19Major coreutils update.Manuel Novoa III
2003-02-09Dont die if logging remotely fails, patch by Joshua JacksonGlenn L McGrath
2002-12-12Update email address for Gennady Feldman <gena01@gena01.com>Glenn L McGrath
2002-11-10run through indent and manually check resultGlenn L McGrath
2002-09-17hehe.Eric Andersen
2002-09-17Vodz' last_patch57:Eric Andersen
Ok. Patch with reduce size ready. Notes: syslogd imposible close logsocket, the real programm write logmessages (hmm, cycle loop?) (Excuse me - this have small tab-formats rewroting also) text data bss dec hex filename 2913 332 12388 15633 3d11 syslogd.o 3109 332 9252 12693 3195 syslogd_old.o
2002-08-06Move #define MAXLINE so this compiles without circ buffers.Manuel Novoa III
2002-08-05Oops. Code things so it actually works this time around...Eric Andersen
-Erik
2002-08-05Joel Coltoff <joel@wmi.com> noticed that following a recentEric Andersen
change in uClibc that changed opening the /dev/log socket as SOCK_STREAM to SOCK_DGRAM, busybox syslogd no longer worked since it needed a matching change. This fixes it so it works once again.
2002-07-19Applied syslogd fix submitted by Bart Visscher:Robert Griebl
I am using BB 0.60.2 in a floppy distro, and the syslog (and logger) is unable to log the "<" char. This shows up in ppp logfiles. [...] #logger "<pcomp>" results in "comp>" arriving at the log.
2002-04-13Patch from Larry Doolittle to teach syslogd to not give up when errno is EINTREric Andersen
2002-03-20Add missing " " after the word on, as reported by Jason LutherEric Andersen
back in mid-december. -Erik
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-11-12Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai
2001-10-28Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen
2001-10-26Fix up the configuration rules and update Libc5 piece for Syslogd. (copied ↵Gennady Feldman
code from logread.c)
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-08-14Log all messages from a single connection, not just the first. Patch fromMatt Kraai
matthias@corelatus.com, approved by Gennady Feldman <gena01@cachier.com>.
2001-07-19Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.cMatt Kraai
(noted by Adam Slattery).
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
2001-07-06Remove redundant initialization of lfile to reduce executable size byMatt Kraai
8192 bytes (noted by Mike Castle).
2001-07-02Per patch from vodz, change a couple of consts to defines, sinceEric Andersen
apparently gcc 2.95.4, at least, is too stupid to realize that a "static const int" is in fact a constant.
2001-06-26Patch from Gennady FeldmanGlenn L McGrath
This should fix "circular buffer" error message shown when running "syslogd -C"
2001-05-16Add xgethostbyname and herror_msg* functions.Matt Kraai
2001-05-07Per comment from Jim McQuillan <jam@mcquil.com>, don't logEric Andersen
syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead.
2001-05-03devfs does not support creation of regular files. So change theEric Andersen
test a bit so as to not possibly create a regular file. -Erik
2001-04-12Use date -u instead of date --utc and consolidate version string.Matt Kraai
Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
2001-04-05Some cleanups/fixes for the syslogd circular buffer codeEric Andersen
from Gennady Feldman.
2001-03-29Use daemon() to spawn syslogd and klogd daemons.Eric Andersen
-Erik
2001-03-27Applied patch from Gennady Feldman to fix a single-threaded syslogd bug thatMark Whitley
turned up. This code needs to be tested on an embedded system, since that's where the bug turned up in the first place.
2001-03-23-Wshadow tr fix from Jeff GarzikEric Andersen
2001-03-21A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen
cleans up most of the now-revealed problems.
2001-03-12Added some comment lines in the header indicating that Gennady Feldman is theMark Whitley
maintainer of these three applets.
2001-03-12Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley
klogd (as it should be).
2001-03-12Applied patch from Gennady Feldman to use single-thread instead of forking.Mark Whitley