Improve ACR search
[lgpl/argeo-commons.git] / org.argeo.init / src / org / argeo / init / logging / ThinLogging.java
index 44be1aa1b8d833d29b21b93f4e720bb15254e894..c2ce215288171bf94543a5fd0a949013b25b6bf2 100644 (file)
@@ -225,10 +225,13 @@ class ThinLogging implements Consumer<Map<String, Object>> {
                        Thread thread, Throwable thrown, StackTraceElement callLocation) {
                assert level != null;
                assert logger != null;
-               assert msg != null;
+//             assert msg != null;
                assert instant != null;
                assert thread != null;
 
+               if (msg == null)
+                       msg = "null";
+
                final long sequence = nextEntry.incrementAndGet();
 
                Map<String, Serializable> logEntry = new LogEntryMap(sequence);