Tell core that we want to have this packet delivered
[oweals/gnunet.git] / src / util / common_logging.c
index 74f28ff7686662434b8c71c38fe4591c6394336b..1a32c44bcf6cdfb8c6191af1176efdfae9d3a696 100644 (file)
@@ -436,8 +436,15 @@ GNUNET_log_from (enum GNUNET_ErrorType kind,
                  const char *comp, const char *message, ...)
 {
   va_list va;
+  char comp_w_pid[128];
+
   va_start (va, message);
-  mylog (kind, comp, message, va);
+  GNUNET_snprintf (comp_w_pid,
+                  sizeof (comp_w_pid),
+                  "%s-%d",
+                  comp,
+                  getpid());
+  mylog (kind, comp_w_pid, message, va);
   va_end (va);
 }