Actions
Bug #2512
openCLI: -debug server/client option does not match filename as documented
Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
11/30/2026
Due date:
% Done:
0%
Estimated time:
Description
Running unciv-server or a client with option -debug d:filename matches
filename as encountered by FILE macro.
According to option help description and docs it should match filename as
substring without need to provide exact path or file extension.
Updated log_do_output_for_level_at_location to do case insensitive filename
match.
To reproduce run e.g.:
freeciv-server -l debug.log -d d:daiunit
Documented as:
-d, --debug LEVEL Set debug log level (one of f,e,w,n,v,d, or d:file1,min,max:...)
See also doc/README:Log messages explaining filename match
Files
Actions