void master_service_init_log(struct master_service *service,
const char *prefix)
+{
+ master_service_init_log_with_prefix(service, prefix);
+}
+
+void master_service_init_log_with_prefix(struct master_service *service,
+ const char *prefix)
{
if (service->log_initialized) {
/* change only the prefix */
functions. The following calls change the log prefix. */
void master_service_init_log(struct master_service *service,
const char *prefix);
+/* Initialize/change log prefix to the given log prefix. */
+void master_service_init_log_with_prefix(struct master_service *service,
+ const char *prefix);
/* Initialize/change log prefix to "configured_name(my_pid): " */
void master_service_init_log_with_pid(struct master_service *service);
/* Initialize stats client (if it's not already initialized). This is called