summaryrefslogtreecommitdiffhomepage
path: root/src/log.c
AgeCommit message (Expand)Author
2020-09-16log_message_storage: use sblistrofl0r
2020-01-15access config via a pointer, not a hardcoded struct addressrofl0r
2020-01-15log: remove special case code for daemonized mode without logfilerofl0r
2020-01-15syslog: always use LOG_USER facilityrofl0r
2019-12-21log.c: protect logging facility with a mutexrofl0r
2018-02-25fix early loggingrofl0r
2018-02-25make send_stored_logs staticrofl0r
2017-11-16log to stdout if no logfile specifiedrofl0r
2013-11-09[BB#109] Fix crash (infinite loop) when writing to log file fails.Michael Adam
2013-11-09log: remove extra newline characters in log messages.Michael Adam
2010-04-21Fix crash in send_stored_logs()Dmitry Semyonov
2010-02-19Use format string when logging messagesMukund Sivaraman
2010-01-17Do an openlog() on fallback to syslogMukund Sivaraman
2010-01-17Remove extra argument to log_message()Mukund Sivaraman
2010-01-17Remove ret variable as 0 is always returnedMukund Sivaraman
2010-01-17Remove unused labelMukund Sivaraman
2010-01-17log: when opening the log file fails, fall back to syslog logging.Michael Adam
2010-01-13log: turn tabs into spaces =)Michael Adam
2010-01-13log: change internal logic to choose syslog over file logging.Michael Adam
2010-01-13log: remove a (now) useless fprintf in setup_logging.Michael Adam
2010-01-10log: remove an fprintf "not configured" error message in setup_logging().Michael Adam
2010-01-10log: shortcut return in shutdown_logging() if logging_initialized == falseMichael Adam
2009-12-23log: confess - add my (C) after substantial changes.Michael Adam
2009-12-23log: remove unneeded truncate_log_file().Michael Adam
2009-12-23log: fix log_message so do only one write before the fsync.Michael Adam
2009-12-23log: add start/end debug messages for "sending stored logs".Michael Adam
2009-12-23log: enhance close_log_file to reset logfile_fd to -1 after closingMichael Adam
2009-12-23log.c: remove superfluous uses of #ifdef HAVE_SYSLOG_HMichael Adam
2009-12-23log: call send_stored_logs in setup_logging instead of in main().Michael Adam
2009-12-23log: add boolean local variable logging_initialized.Michael Adam
2009-12-23log: add function shutdown_logging().Michael Adam
2009-12-07Move definition of "struct config_s" from main.h to conf.hMichael Adam
2009-11-14extract setup of the logging subsystem into a function of its own.Michael Adam
2009-11-10intentation: convert a tab to spacesMichael Adam
2009-09-27Don't ignore retval of write() in log.cMukund Sivaraman
2009-09-27Don't ignore retval of ftruncate() in log.cMukund Sivaraman
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman
2009-08-07send_stored_logs(): remove an implicit cast warning.Michael Adam
2009-08-07send_stored_logs: fix signed/unsigned comparisonMichael Adam
2009-08-07log_message(): remove implicit cast warning.Michael Adam
2009-08-07log: make const char array const.Michael Adam
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman
2009-08-04remove "discard const" compiler warnings with log_message().Michael Adam
2008-12-08Convert tabs to spacesMukund Sivaraman
2008-12-01Reformat code to GNU coding styleMukund Sivaraman
2008-08-24pos can never be less than 0 as it's of type size_tMukund Sivaraman
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman
2008-03-30Free entry_buffer or it'll be leakedMukund Sivaraman
2008-03-30Fixed leaks of va_listsMukund Sivaraman
2005-08-15* [Indent] Ran Source Through indentRobert James Kaes