summaryrefslogtreecommitdiff
path: root/src/log.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2002-10-03The internal log structure now uses a vector rather than a hash. ThisRobert James Kaes1-40/+71
change was required to actually display all the logs in the correct order. Also, all log lines are stored internally while tinyproxy is starting. At the appropriate point all the logs are written to the log file.
2002-06-15(log_message): Changed the code so that the log is opened, written, and ↵Robert James Kaes1-9/+13
closed whenever a message is submitted. This allows the log file to be moved away, for example a rotating the log, and yet still have the information written to the correct file name by all the children.
2002-06-06(send_stored_logs): Actually included the code to output the stored logs. ↵Robert James Kaes1-5/+20
Plus, there was a bug with how I was calling the hashmap_is_end() function. This has now been fixed.
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
file has not been read yet. The reason for this is that we don't know where to log the messgaes until _after_ the config file has been processed.
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
tinyproxy.h and all the other files include the tinyproxy.h header. This moves all the dependancy issues into one file.
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
the config file sets it.
2001-08-27Fixed a problem where the connect messages were not getting logged if theRobert James Kaes1-3/+2
log level was set to INFO.
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
various machines.
2001-06-05Changed the format type in the printf() to remove the compiler error (IRobert James Kaes1-2/+2
hope.)
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
2000-09-11Cleaned up the logging format, and also included logging levels (which areRobert James Kaes1-35/+29
similar to the syslogd format.)
2000-02-16This commit was generated by cvs2svn to compensate for changes in r2,Steven Young1-0/+90
which included commits to RCS files with non-trunk default branches.