Make sure to write log when socket_owner not set
2001-07-30 Bradford Hovinen <hovinen@ximian.com> * config-log.c (config_log_write_entry): Make sure to write log when socket_owner not set
This commit is contained in:
parent
a817c23277
commit
eb938c2725
2 changed files with 6 additions and 2 deletions
|
@ -4,6 +4,8 @@
|
||||||
load the log entry
|
load the log entry
|
||||||
(config_log_destroy):
|
(config_log_destroy):
|
||||||
(config_log_open): Disable socket sync system
|
(config_log_open): Disable socket sync system
|
||||||
|
(config_log_write_entry): Make sure to write log when socket_owner
|
||||||
|
not set
|
||||||
|
|
||||||
2001-07-27 Bradford Hovinen <hovinen@ximian.com>
|
2001-07-27 Bradford Hovinen <hovinen@ximian.com>
|
||||||
|
|
||||||
|
|
|
@ -533,17 +533,19 @@ config_log_write_entry (ConfigLog *config_log, gchar *backend_id,
|
||||||
config_log->p->log_data =
|
config_log->p->log_data =
|
||||||
g_list_prepend (config_log->p->log_data, entry);
|
g_list_prepend (config_log->p->log_data, entry);
|
||||||
|
|
||||||
if (config_log->p->socket_owner) {
|
|
||||||
#if 0
|
#if 0
|
||||||
|
if (config_log->p->socket_owner) {
|
||||||
slave_broadcast_data (NULL, config_log);
|
slave_broadcast_data (NULL, config_log);
|
||||||
#endif
|
#endif
|
||||||
dump_log (config_log);
|
dump_log (config_log);
|
||||||
if (config_log->p->file_buffer)
|
if (config_log->p->file_buffer)
|
||||||
io_buffer_destroy (config_log->p->file_buffer);
|
io_buffer_destroy (config_log->p->file_buffer);
|
||||||
do_load (config_log);
|
do_load (config_log);
|
||||||
|
#if 0
|
||||||
} else {
|
} else {
|
||||||
write_log (config_log->p->socket_buffer, entry);
|
write_log (config_log->p->socket_buffer, entry);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return entry->id;
|
return entry->id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue