Index: ai/ailog.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/ai/ailog.c,v retrieving revision 1.11 diff -u -r1.11 ailog.c --- ai/ailog.c 24 Nov 2003 11:27:24 -0000 1.11 +++ ai/ailog.c 29 Apr 2004 20:07:43 -0000 @@ -119,8 +119,18 @@ if (punit->debug) { minlevel = LOG_NORMAL; - } else if (minlevel > fc_log_level) { - return; + } else { + if (minlevel > fc_log_level) { + return; + } + /* Are we a virtual unit evaluated in a debug city?. */ + if (punit->id == 0) { + struct city *pcity = map_get_city(punit->x, punit->y); + + if (pcity && pcity->debug) { + minlevel = LOG_NORMAL; + } + } } if (is_goto_dest_set(punit)) {