summaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix from Paul Kortekaas for syslog -C option, size should be in kB.Glenn L McGrath2004-02-221-1/+1
|
* Patch from Fillod Stephane:Eric Andersen2003-12-191-4/+10
| | | | | | 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.
* Get vfork_daemon_rexec working under uclinuxRuss Dill2003-12-151-4/+5
|
* Arnd Ben Otto writes:Eric Andersen2003-10-091-1/+48
| | | | | | | | | | | | | | | | | | | 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
* add size parameter to syslogd -CGlenn L McGrath2003-09-261-5/+10
| | | | Patch by Padraig, resubmitted by Fillod Stephane
* Vodz, last_patch_104Glenn L McGrath2003-09-101-4/+5
|
* Vodz, last patch 104Glenn L McGrath2003-08-291-5/+1
|
* last_patch95 from vodz:Eric Andersen2003-07-281-2/+3
| | | | | | | | | | | | | | | | | 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
* eliminate DOSTATIC, DODEBUG, etc and name them sensiblyEric Andersen2003-07-221-1/+1
|
* Remove remaining libc5 support codeEric Andersen2003-07-221-6/+0
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+1
|
* oopsEric Andersen2003-05-231-1/+2
|
* This patch from Vitezslav Batrla, is a cleaner fix for theEric Andersen2003-05-231-15/+5
| | | | problem with syslogd logging the '<' char.
* Apply patch from Georg Magschok to fix syslog behavior so that theEric Andersen2003-05-161-8/+18
| | | | | | | | '>' 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...
* Major coreutils update.Manuel Novoa III2003-03-191-17/+17
|
* Dont die if logging remotely fails, patch by Joshua JacksonGlenn L McGrath2003-02-091-6/+2
|
* Update email address for Gennady Feldman <gena01@gena01.com>Glenn L McGrath2002-12-121-2/+2
|
* run through indent and manually check resultGlenn L McGrath2002-11-101-228/+253
|
* hehe.Eric Andersen2002-09-171-1/+1
|
* Vodz' last_patch57:Eric Andersen2002-09-171-104/+93
| | | | | | | | | | | | 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
* Move #define MAXLINE so this compiles without circ buffers.Manuel Novoa III2002-08-061-3/+2
|
* Oops. Code things so it actually works this time around...Eric Andersen2002-08-051-22/+15
| | | | -Erik
* Joel Coltoff <joel@wmi.com> noticed that following a recentEric Andersen2002-08-051-2/+2
| | | | | | | 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.
* Applied syslogd fix submitted by Bart Visscher:Robert Griebl2002-07-191-1/+3
| | | | | | 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.
* Patch from Larry Doolittle to teach syslogd to not give up when errno is EINTREric Andersen2002-04-131-1/+3
|
* Add missing " " after the word on, as reported by Jason LutherEric Andersen2002-03-201-1/+1
| | | | | back in mid-december. -Erik
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-6/+6
|
* Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai2001-11-121-2/+2
|
* Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen2001-10-281-0/+4
|
* Fix up the configuration rules and update Libc5 piece for Syslogd. (copied ↵Gennady Feldman2001-10-261-0/+6
| | | | code from logread.c)
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-15/+15
| | | | -Erik
* Log all messages from a single connection, not just the first. Patch fromMatt Kraai2001-08-141-2/+4
| | | | matthias@corelatus.com, approved by Gennady Feldman <gena01@cachier.com>.
* Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.cMatt Kraai2001-07-191-0/+1
| | | | (noted by Adam Slattery).
* This is vodz' latest patch. Sorry it took so long...Eric Andersen2001-07-171-2/+2
| | | | | | | | | 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)
* Remove redundant initialization of lfile to reduce executable size byMatt Kraai2001-07-061-1/+1
| | | | 8192 bytes (noted by Mike Castle).
* Per patch from vodz, change a couple of consts to defines, sinceEric Andersen2001-07-021-1/+3
| | | | | apparently gcc 2.95.4, at least, is too stupid to realize that a "static const int" is in fact a constant.
* Patch from Gennady FeldmanGlenn L McGrath2001-06-261-2/+0
| | | | This should fix "circular buffer" error message shown when running "syslogd -C"
* Add xgethostbyname and herror_msg* functions.Matt Kraai2001-05-161-5/+1
|
* Per comment from Jim McQuillan <jam@mcquil.com>, don't logEric Andersen2001-05-071-2/+2
| | | | | syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead.
* devfs does not support creation of regular files. So change theEric Andersen2001-05-031-6/+3
| | | | | test a bit so as to not possibly create a regular file. -Erik
* Use date -u instead of date --utc and consolidate version string.Matt Kraai2001-04-121-1/+1
| | | | Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
* Some cleanups/fixes for the syslogd circular buffer codeEric Andersen2001-04-051-7/+9
| | | | from Gennady Feldman.
* Use daemon() to spawn syslogd and klogd daemons.Eric Andersen2001-03-291-18/+4
| | | | -Erik
* Applied patch from Gennady Feldman to fix a single-threaded syslogd bug thatMark Whitley2001-03-271-8/+11
| | | | | turned up. This code needs to be tested on an embedded system, since that's where the bug turned up in the first place.
* -Wshadow tr fix from Jeff GarzikEric Andersen2001-03-231-5/+5
|
* A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen2001-03-211-2/+0
| | | | cleans up most of the now-revealed problems.
* Added some comment lines in the header indicating that Gennady Feldman is theMark Whitley2001-03-121-0/+2
| | | | maintainer of these three applets.
* Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley2001-03-121-113/+205
| | | | klogd (as it should be).
* Applied patch from Gennady Feldman to use single-thread instead of forking.Mark Whitley2001-03-121-20/+12
|
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik