Hi Steven,
assuming we apply the previous posted patch to fix format handling,
this patch readd support for timestamps that was dropped between
logsysv1 and v2.
usual.. ACK or apply disclaimer
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