[Freeciv-Dev] Re: (PR#11514) Emergency management messages
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11514 >
Per I. Mathisen wrote:
>
> It should be LOG_NORMAL, I think. However, I am concerned that they
> suddenly start showing up now, after having been absent (or so I believe)
> for quite some time.
It seems that they used to be LOG_DEBUG, but were recently
(accidentally?) turned into LOG_ERROR messages. Attached patch makes
them LOG_DEBUG again.
- ML
diff -Nurd -X.diff_ignore freeciv/server/cityturn.c freeciv/server/cityturn.c
--- freeciv/server/cityturn.c 2004-12-16 23:51:03.250000000 +0200
+++ freeciv/server/cityturn.c 2004-12-17 01:35:41.296875000 +0200
@@ -258,7 +258,7 @@
if (!cmr.found_a_valid) {
/* Should never happen. */
- CITY_LOG(LOG_ERROR, pcity, "emergency management");
+ CITY_LOG(LOG_DEBUG, pcity, "emergency management");
cm_init_emergency_parameter(&cmp);
cm_query_result(pcity, &cmp, &cmr);
}
@@ -290,7 +290,7 @@
if (!cmr.found_a_valid) {
/* Should never happen. */
- CITY_LOG(LOG_ERROR, pcity, "emergency management");
+ CITY_LOG(LOG_DEBUG, pcity, "emergency management");
cm_init_emergency_parameter(&cmp);
cm_query_result(pcity, &cmp, &cmr);
}
|
|