[Freeciv-tickets] [freeciv] #44438: Testmatic: log_debug() "Did not find a cm solution"

Back to archive index
OSDN Ticket System norep****@osdn*****
Sat Apr 23 19:58:26 JST 2022


#44438: Testmatic: log_debug() "Did not find a cm solution"

  Open Date: 2022-04-22 06:44
Last Update: 2022-04-23 12:58

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44438
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44438

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-04-23 12:58 Updated by: alain_bkr

Comment:

Agreed, this message is merely an information, maybe it could be suppressed.
I did trace and count the occurrences during one game, and 99% of times it needs less than 1800 iteration, the distribution is decreasing very quickly ( something like : probability ( N ) = O (1 / sqrt N ) ) 
33% in less than 24 iteration 
66% in less than 100 iteration
99% in less than 1800
And when the situation in one city starts to fail in a reasonable number of iteration, it will continue to fail  (city is too big , or has too many costs ...)

---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Patches
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.0.2
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

On my "testmatic" setup I have to keep just one local patch any more. Would want to make also that one part of freeciv repository to ease things (no forgetting applying the local patch, no conflicts in applying it after repo changes, not getting it accidentally included in diffs...)
It's about turning the message "Did not find a cm solution..." to log_debug() one. It's a message I don't want to fill the error logs. It's not *that* serious, it happens a lot, and I've got otherwise clean logs (i.e. I can treat any appearance of log as a more or less critical situation to check)

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/44438
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44438



More information about the Freeciv-tickets mailing list
Back to archive index