summaryrefslogtreecommitdiff
path: root/src/log.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2009-12-23log: call send_stored_logs in setup_logging instead of in main().Michael Adam1-0/+2
2009-12-23log: add boolean local variable logging_initialized.Michael Adam1-1/+6
2009-12-23log: add function shutdown_logging().Michael Adam1-0/+15
2009-12-07Move definition of "struct config_s" from main.h to conf.hMichael Adam1-0/+1
2009-11-14extract setup of the logging subsystem into a function of its own.Michael Adam1-0/+37
2009-11-10intentation: convert a tab to spacesMichael Adam1-1/+1
2009-09-27Don't ignore retval of write() in log.cMukund Sivaraman1-3/+20
2009-09-27Don't ignore retval of ftruncate() in log.cMukund Sivaraman1-1/+4
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman1-118/+102
2009-08-07send_stored_logs(): remove an implicit cast warning.Michael Adam1-1/+1
2009-08-07send_stored_logs: fix signed/unsigned comparisonMichael Adam1-1/+1
2009-08-07log_message(): remove implicit cast warning.Michael Adam1-1/+1
2009-08-07log: make const char array const.Michael Adam1-1/+1
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman1-1/+1
2009-08-04remove "discard const" compiler warnings with log_message().Michael Adam1-1/+1
2008-12-08Convert tabs to spacesMukund Sivaraman1-17/+17
2008-12-01Reformat code to GNU coding styleMukund Sivaraman1-99/+111
2008-08-24pos can never be less than 0 as it's of type size_tMukund Sivaraman1-1/+1
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman1-14/+18
2008-03-30Free entry_buffer or it'll be leakedMukund Sivaraman1-0/+2
2008-03-30Fixed leaks of va_listsMukund Sivaraman1-6/+4
2005-08-15* [Indent] Ran Source Through indentRobert James Kaes1-94/+93
2005-07-12* Updated Copyright Email AddressesRobert James Kaes1-2/+2
2004-08-14(log_message): Added a fsync() call after each line outputted to theRobert James Kaes1-1/+2
2004-02-13Removed unnecessary casts (mostly dealing with memory allocation.) IRobert James Kaes1-3/+3
2003-07-31Added appropriate casts from (void*) so that the code will compileRobert James Kaes1-4/+4
2003-05-31# Changed all the for calls to use the != test rather than < test.Robert James Kaes1-2/+2
2003-05-30# Changed the calls to vector_getentry() to use the new callingRobert James Kaes1-2/+2
2003-05-29# Renamed the vector_insert() calls to vector_append()Robert James Kaes1-2/+2
2002-10-03The internal log structure now uses a vector rather than a hash. ThisRobert James Kaes1-40/+71
2002-06-15(log_message): Changed the code so that the log is opened, written, and close...Robert James Kaes1-9/+13
2002-06-06(send_stored_logs): Actually included the code to output the stored logs. Pl...Robert James Kaes1-5/+20
2002-05-23Changed the header includes around to reflect the new source layout.Robert James Kaes1-1/+2
2002-04-26Check the return value of hashmap_first()Robert James Kaes1-8/+9
2002-04-25The hashmap API changed, so this function needs to be changed as well.Robert James Kaes1-11/+11
2002-04-22The log_message() function now stores the messages if the configurationRobert James Kaes1-4/+60
2001-11-22Reformated text.Robert James Kaes1-7/+8
2001-10-25Header reorganization. Basically all system headers are now included inRobert James Kaes1-3/+1
2001-09-04Fixed a format string bug with the syslog function.Robert James Kaes1-2/+2
2001-08-29Changed how we handle when compiled with debug code.Robert James Kaes1-11/+4
2001-08-28The logging levels _now_ output the correct information depending on whereRobert James Kaes1-4/+10
2001-08-27Fixed a problem where the connect messages were not getting logged if theRobert James Kaes1-3/+2
2001-08-26Fixed a problem with the new LOG_CONN log level.Robert James Kaes1-8/+6
2001-08-26Added the Connect log level.Robert James Kaes1-4/+23
2001-06-06Explictly cast getpid() to a long int to remove the compiler warnings onRobert James Kaes1-3/+3
2001-06-05Changed the format type in the printf() to remove the compiler error (IRobert James Kaes1-2/+2
2001-06-02Fixed a type problem with fprintf in log_message() when logging the PID.Robert James Kaes1-2/+2
2001-06-02Added the code for handling selective logging.Robert James Kaes1-1/+20
2001-05-27Changed the log() function to log_message().Robert James Kaes1-2/+2
2000-09-21Added the LOG_NOTICE level.Robert James Kaes1-2/+2