Hi Steven,
as you also pointed out on IRC we were not updating format_buffer but
only a random pointer.
Patch in attachment fixes that.
Please ACK or apply.
Fabio
Index: exec/mainconfig.c
===================================================================
--- exec/mainconfig.c (revision 1788)
+++ exec/mainconfig.c (working copy)
@@ -158,16 +158,14 @@
}
}
if (!objdb_get_string (objdb,object_service_handle, "timestamp", &value)) {
-/* todo change format string
if (strcmp (value, "on") == 0) {
- main_config->logmode |= LOG_MODE_DISPLAY_TIMESTAMP;
+ logsys_format_set("%t [%6s] %b");
} else
if (strcmp (value, "off") == 0) {
- main_config->logmode &= ~LOG_MODE_DISPLAY_TIMESTAMP;
+ logsys_format_set("[%6s] %b");
} else {
goto parse_error;
}
-*/
}
/* free old string on reload */
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais