Index: cpp/frams/param/multiparamload.cpp
===================================================================
--- cpp/frams/param/multiparamload.cpp	(revision 372)
+++ cpp/frams/param/multiparamload.cpp	(revision 375)
@@ -5,5 +5,5 @@
 #include "multiparamload.h"
 #include <frams/util/sstringutils.h>
-#include "common/hmessage.h"
+#include "common/log.h"
 #include <ctype.h>
 
@@ -107,5 +107,5 @@
 	else if (status==BeforeUnknown)
 		{
-		Hprintf("MultiParamLoader","go",HMLV_WARN,"Skipping object '%s'",lastunknown.c_str());
+		logPrintf("MultiParamLoader","go",LOG_WARN,"Skipping object '%s'",lastunknown.c_str());
 		loadObjectNow(&emptyparam,false);
 		continue;
@@ -137,5 +137,5 @@
 				{
 				const char* thisfilename=file->VgetPath();
-				Hprintf("MultiParamLoader","go",HMLV_WARN,"invalid \"%s\"%s%s",buf.c_str(),
+				logPrintf("MultiParamLoader","go",LOG_WARN,"invalid \"%s\"%s%s",buf.c_str(),
 					 (thisfilename?" in ":""),(thisfilename?thisfilename:""));
 				}
@@ -204,5 +204,5 @@
 if (alreadyIncluded(newfilename.c_str()))
 	{
-	Hprintf("MultiParamLoader","include",HMLV_WARN,"circular reference ignored (\"%s\")",
+	logPrintf("MultiParamLoader","include",LOG_WARN,"circular reference ignored (\"%s\")",
 		    filename.c_str());
 	return;
@@ -212,5 +212,5 @@
 if (!f)
 	{
-	Hprintf("MultiParamLoader","include",HMLV_WARN,"\"%s\" not found",newfilename.c_str());
+	logPrintf("MultiParamLoader","include",LOG_WARN,"\"%s\" not found",newfilename.c_str());
 	}
 else
Index: cpp/frams/param/param.cpp
===================================================================
--- cpp/frams/param/param.cpp	(revision 372)
+++ cpp/frams/param/param.cpp	(revision 375)
@@ -8,5 +8,5 @@
 #include "param.h"
 #include <frams/util/extvalue.h>
-#include "common/hmessage.h"
+#include "common/log.h"
 #include <frams/util/sstringutils.h>
 
@@ -445,5 +445,5 @@
 		{
 			SString name(p0, p_len);
-			Hprintf("ParamInterface", "load", HMLV_WARN, "Ignored unknown property '%s' while reading object '%s'", name.c_str(), getName());
+			logPrintf("ParamInterface", "load", LOG_WARN, "Ignored unknown property '%s' while reading object '%s'", name.c_str(), getName());
 		}
 
@@ -518,5 +518,5 @@
 	case 'o':	ret.setObject(getObject(i)); break;
 	case 'x':	ret = getExtValue(i); break;
-	default: Hprintf("ParamInterface", "get", HMLV_ERROR, "'%s.%s' is not a field", getName(), id(i));
+	default: logPrintf("ParamInterface", "get", LOG_ERROR, "'%s.%s' is not a field", getName(), id(i));
 	}
 }
@@ -562,5 +562,5 @@
 			if (v.type == TObj)
 			{
-				Hprintf("ParamInterface", "set", HMLV_WARN, "Getting integer value from object reference (%s)", v.getString().c_str());
+				logPrintf("ParamInterface", "set", LOG_WARN, "Getting integer value from object reference (%s)", v.getString().c_str());
 				return 0;
 			}
@@ -574,5 +574,5 @@
 			if (v.type == TObj)
 			{
-				Hprintf("ParamInterface", "set", HMLV_WARN, "Getting floating point value from object reference (%s)", v.getString().c_str());
+				logPrintf("ParamInterface", "set", LOG_WARN, "Getting floating point value from object reference (%s)", v.getString().c_str());
 				return 0;
 			}
@@ -583,5 +583,5 @@
 	case 'o': return setObject(i, v.getObject());
 	case 'x': return setExtValue(i, v);
-	default: Hprintf("ParamInterface", "set", HMLV_ERROR, "'%s.%s' is not a field", getName(), id(i));
+	default: logPrintf("ParamInterface", "set", LOG_ERROR, "'%s.%s' is not a field", getName(), id(i));
 	}
 	return 0;
@@ -605,5 +605,5 @@
 			if ((after == NULL) || (*after))
 			{
-				Hprintf("ParamInterface", "set", HMLV_WARN, "serialization format mismatch in %s.%s", (getName() ? getName() : "<Unknown>"), id(i));
+				logPrintf("ParamInterface", "set", LOG_WARN, "serialization format mismatch in %s.%s", (getName() ? getName() : "<Unknown>"), id(i));
 				e.setEmpty();
 			}
@@ -690,5 +690,5 @@
 	}
 	if (err!=NULL)
-		Hprintf("SimpleAbstractParam","sanityCheck", HMLV_ERROR,
+		logPrintf("SimpleAbstractParam","sanityCheck", LOG_ERROR,
 		"Invalid ParamEntry for %s.%s (%s)", getName(), pe->id, err);
 }	
@@ -961,5 +961,5 @@
 	else
 	{
-		Hprintf("SimpleAbstractParam", "call", HMLV_ERROR,
+		logPrintf("SimpleAbstractParam", "call", LOG_ERROR,
 			(*pe->type != 'p') ? "'%s.%s' is not a function" : "Internal error - undefined function pointer for '%s.%s'", getName(), pe->id);
 		ret->setInvalid();
@@ -1060,5 +1060,5 @@
 			{
 				SString name(t, (int)(equals_sign - t));
-				Hprintf("Param", "load2", HMLV_WARN, "Unknown property '%s' while reading object '%s' (ignored)", name.c_str(), getName());
+				logPrintf("Param", "load2", LOG_WARN, "Unknown property '%s' while reading object '%s' (ignored)", name.c_str(), getName());
 			}
 			t = equals_sign + 1; // t=value
@@ -1070,5 +1070,5 @@
 #endif
 			{
-			Hprintf("Param", "load2", HMLV_WARN, "Missing property name in '%s' (assuming '%s')",
+			logPrintf("Param", "load2", LOG_WARN, "Missing property name in '%s' (assuming '%s')",
 				getName(), id(i) ? id(i) : "unknown property?");
 			}
@@ -1092,5 +1092,5 @@
 			fields_loaded++;
 			if (ret&(PSET_HITMAX | PSET_HITMIN))
-				Hprintf("Param", "load2", HMLV_WARN, "Adjusted '%s' in '%s' (was too %s)",
+				logPrintf("Param", "load2", LOG_WARN, "Adjusted '%s' in '%s' (was too %s)",
 				id(i), getName(), (ret&PSET_HITMAX) ? "big" : "small");
 			*(char*)valstop = remember;
Index: cpp/frams/param/param.h
===================================================================
--- cpp/frams/param/param.h	(revision 372)
+++ cpp/frams/param/param.h	(revision 375)
@@ -12,5 +12,5 @@
 #include <frams/util/statrick.h>
 #include <frams/virtfile/virtfile.h>
-#include <common/hmessage.h>
+#include <common/log.h>
 
 class ExtValue;
@@ -273,5 +273,5 @@
 			SString svaluetoset = SString::valueOf(valuetoset); //converts any type to SString
 			SString actual = get(i);
-			Hprintf("Param", "set", HMLV_WARN, "Setting '%s.%s = %s' exceeded allowed range (too %s). Adjusted to %s.",
+			logPrintf("Param", "set", LOG_WARN, "Setting '%s.%s = %s' exceeded allowed range (too %s). Adjusted to %s.",
 				getName(), id(i), svaluetoset.c_str(), (setflags&PSET_HITMAX) ? "big" : "small", actual.c_str());
 		}
