[Freeciv-Dev] Re: [RFH] Switching on DEBUG logging.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Forget my earlier message, sorry, I figured it out.
A couple of grudges though: I think log messages section should be moved
to (or duplicated in) freeciv_hackers_guide.txt
And for dummies like me, can you mention that after you run
"configure --enable-debug", you have to forcibly recompile everything
(which I achieved by rm -fR *.o, but surely there is a better way,
something like "make clean" or "make --force").
On Tue, 19 Mar 2002, Gregory Berkolaiko wrote:
> Request for help:
> To perform debug logging right now I just change LOG_DEBUG to
> LOG_NORMAL for the messages that would interest me. Out of ignorance, of
> I am aware that you can switch 4th level messages on (and I even did that
> once --- and got swamped wih messages). I later learnt that it is
> possible to provide commad line args to specify which messages of
> LOG_DEBUG level you want to be shown. But I never managed to do it (and
> never managed to repeat my first "switch them all on" experience either).
> Could you please tell me how to do it, step by step?
> P.S. Please don't tell me to RTFM. For I have an argument against it: