Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] (PR#6263) remove log spamming
Home

[Freeciv-Dev] (PR#6263) remove log spamming

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#6263) remove log spamming
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 24 Sep 2003 00:05:05 -0700
Reply-to: rt@xxxxxxxxxxxxxx

See $subject. These freelogs were filling up my logs and making debugging
(-d 4) crawl to a halt.

  - Per

Index: common/improvement.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/improvement.c,v
retrieving revision 1.33
diff -u -r1.33 improvement.c
--- common/improvement.c        2003/08/10 13:46:14     1.33
+++ common/improvement.c        2003/09/24 07:03:16
@@ -469,8 +469,6 @@
     city_list_iterate(pplayer->cities, pcity) {
       built_impr_iterate(pcity, i) {
         if (improvement_obsolete(pplayer, i)) {
-          freelog(LOG_DEBUG,"%s in %s is obsolete",
-                  improvement_types[i].name, pcity->name);
           mark_improvement(pcity, i, I_OBSOLETE);
           did_mark = TRUE;
         }
@@ -513,12 +511,8 @@
     }                                                                        \
                                                                              \
     if (improvement_redundant(city_owner(_pcity), (_pcity), i, FALSE)) {     \
-      freelog(LOG_DEBUG,"%s in %s is redundant",                             \
-              improvement_types[i].name, (_pcity)->name);                    \
       mark_improvement((_pcity), i, I_REDUNDANT);                            \
     } else {                                                                 \
-      freelog(LOG_DEBUG,"%s in %s is active!",                               \
-             improvement_types[i].name, (_pcity)->name);                     \
       mark_improvement((_pcity), i, I_ACTIVE);                               \
     }                                                                        \
   } built_impr_iterate_end;                                                  \

[Prev in Thread] Current Thread [Next in Thread]