summaryrefslogtreecommitdiff
path: root/ctdb/server/ctdb_logging.c
AgeCommit message (Expand)AuthorFilesLines
2014-12-17ctdb/server: add format string checking to ctdb_tevent_logging()Stefan Metzmacher1-1/+5
2014-10-28ctdb-logging: New option CTDB_LOGGING, remove CTDB_LOGFILE, CTDB_SYSLOGMartin Schwenke1-19/+48
2014-10-28ctdb-logging: Separate out syslog and file logging backendsMartin Schwenke1-285/+12
2014-10-28ctdb-logging: Remove ctdb element from struct ctdb_log_stateMartin Schwenke1-6/+2
2014-10-28ctdb-logging: Remove log member from struct ctdb_contextMartin Schwenke1-12/+11
2014-10-28ctdb-logging: Rename ctdb_log_handler() to ctdb_child_log_handler()Martin Schwenke1-4/+5
2014-10-28ctdb-logging: Remove debug levels DEBUG_ALERT and DEBUG_CRITMartin Schwenke1-6/+0
2014-10-28ctdb-logging: Remove DEBUG_EMERGMartin Schwenke1-3/+0
2014-10-28ctdb-logging: Add missing newline when logging to fileMartin Schwenke1-1/+1
2014-10-06ctdb-logging: Update to use Samba style debug.h/debug.cMartin Schwenke1-60/+17
2014-10-06ctdb-logging: Change LogLevel to DEBUGLEVELMartin Schwenke1-2/+2
2014-10-06ctdb-logging: Remove log ringbufferMartin Schwenke1-42/+0
2014-08-21ctdb: Use sys_read() and sys_write() to ensure correct signal interactionMartin Schwenke1-8/+8
2014-06-12ctdb-logging: Move controls handling functions from common to serverAmitay Isaacs1-1/+40
2014-01-16ctdb-daemon: Remove ctdb_fork_with_logging()Amitay Isaacs1-60/+0
2014-01-16ctdb-daemon: Add ctdb_vfork_with_logging()Amitay Isaacs1-0/+78
2013-11-19ctdb-server: Coverity fixesAmitay Isaacs1-2/+6
2013-07-11Fixes for various issues found by CoveritySumit Bose1-0/+4
2013-07-10ctdbd: Set process names for child processesAmitay Isaacs1-0/+1
2013-06-20logging: Notify parent when logging daemon is upMartin Schwenke1-7/+33
2013-04-17logging: fix comment typoMichael Adam1-1/+1
2013-03-25logging: Do not ignore stdout/stderr from the exec'd childrenAmitay Isaacs1-5/+0
2012-10-18Logging: Map TEVENT_DEBUG_FATAL to DEBUG_CRITMartin Schwenke1-2/+2
2012-07-16Remove tevent_loop_allow_nesting()Amitay Isaacs1-1/+0
2012-04-13Remove explicit include of lib/tevent/tevent.h.Amitay Isaacs1-1/+0
2011-11-26logging: properly cast sockaddr_in to sockaddr for sendto() in ctdb_syslog_log()Michael Adam1-1/+3
2011-11-26logging: some whitespace cleanup in ctdb_syslog_log()Michael Adam1-2/+1
2011-11-26logging: properly cast sockaddr_in to sockaddr for bind in start_syslog_daemon()Michael Adam1-1/+3
2011-08-26Logging: when we log stdout/stderr messages from eventscripts to the system ...Ronnie Sahlberg1-2/+9
2011-01-11Add ctdb_fork(0 which will fork a child process and drop the real-timeRonnie Sahlberg1-2/+2
2010-09-28set up a handler to catch and log debug messages from the tevent layerRonnie Sahlberg1-0/+40
2010-08-19Merge commit 'rusty/ports-from-1.0.112' into fooRonnie Sahlberg1-5/+8
2010-08-18logging: give a unique logging name to each forked child.Rusty Russell1-5/+8
2010-08-18We use eventloop nesting in a couple of places, notably the syncRonnie Sahlberg1-0/+1
2010-08-18event: Update events to latest Samba version 0.9.8Rusty Russell1-9/+16
2010-05-20libctdb: reorganize headers: remove ctdb.h, add ctdb_client.h and ctdb_protoc...Rusty Russell1-1/+1
2010-02-04Drop the debug level for logging fd creation to DEBUG_DEBUGRonnie Sahlberg1-1/+1
2010-01-12server: call event_add_fd at the end of ctdb_set_child_logging()Stefan Metzmacher1-20/+28
2010-01-12ctdb_logging: simplify ctdb_fork_with_logging a lot and reduce the syscall usageStefan Metzmacher1-23/+6
2009-12-17server: add set_close_on_exec() on more fdsStefan Metzmacher1-0/+3
2009-12-17server: fix fd leaks in the new logging codeStefan Metzmacher1-2/+5
2009-12-15This is a dodgy patch.Ronnie Sahlberg1-1/+3
2009-12-15When setting up the logging, set the event to trigger a read of a log message...Ronnie Sahlberg1-1/+1
2009-12-15From rusty:Ronnie Sahlberg1-0/+3
2009-12-08eventscript: ctdb_fork_with_logging()Rusty Russell1-12/+94
2009-12-08eventscript: pass struct ctdb_log_state directly to ctdb_log_handler().Rusty Russell1-17/+19
2009-11-18add an in memory ringbuffer where we store the last 500000 log entries regard...Ronnie Sahlberg1-0/+5
2009-11-17create a new event context for the syslog daemonRonnie Sahlberg1-0/+3
2009-11-16set up a pipe betweent he main daemon and the child we use for syslogling so ...Ronnie Sahlberg1-22/+80
2009-10-30start the syslog child a little later, after we have forked and detached from...Ronnie Sahlberg1-13/+22