From 2e3cce69d90ad278330d95b1fbac01f9565d280a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 31 Mar 2023 05:21:17 +0300 Subject: [PATCH 53/53] doc/README: Replace "DEBUG" with "FREECIV_DEBUG" See osdn #47720 Signed-off-by: Marko Lindqvist --- doc/README | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/README b/doc/README index 45c128b904..44a28288ac 100644 --- a/doc/README +++ b/doc/README @@ -472,11 +472,11 @@ All the messages of the selected level, and lower levels, are shown. E.g. on the default "normal" level you get all of the "fatal", "error", "warning", and "normal" level messages. -If you compiled with DEBUG defined (an easy way to do this is to +If you compiled with FREECIV_DEBUG defined (an easy way to do this is to configure with --enable-debug), then you can get debug level messages -by setting the level to "debug" (or 5). Also, it is possible to +by setting the level to "debug" (or 5). Also, it is possible to control debug level messages (but not other messages) on a per-file -and per-line basis. To do this use "--debug debug:str1:str2" (as many +and per-line basis. To do this use "--debug debug:str1:str2" (as many strings as you like, separated by colons) and any filenames which match those strings as a substring will have debug log messages turned on, and all other debug messages will be suppressed. @@ -502,11 +502,11 @@ Example: | % freeciv-server -d debug:log:civserver,120,500:autoattack This turns on all fatal, error, normal and verbose messages for the -server, and debug level messages for some specified modules. Note -that "log" will match "gamelog.c" as well as "log.c". For +server, and debug level messages for some specified modules. Note +that "log" will match "gamelog.c" as well as "log.c". For "civserver.c", debug messages between lines 120 and 500 will be -printed. This example only works if the server was compiled with -DEBUG. +printed. This example only works if the server was compiled with +FREECIV_DEBUG. Bugs: -- 2.39.2