[freeciv-ai] Re: DEBUG
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, May 09, 2003 at 08:49:52AM -0500, Mike Kaufman wrote:
> On Fri, May 09, 2003 at 09:23:14AM +0200, Olivier DAVY wrote:
> > Hi everybody,
> >
> > could you please tell me how to set the different level of trace (or log)
> > to
> > debug the app.
>
> % ser -d 3
>
> will give you verbose output, but I think you want:
>
> % ./autogen.sh --enable-debug=yes
>
> so you can do debug level 4:
>
> % ser -d 4:advmilitary.c,500,700:packets.c,300,500
The alternative is to not pass "--enable-debug=yes" to autogen.sh and
change the LOG_DEBUGs to LOG_NORMALs. I do this if I'm only interested
in same messages.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"I was dead ... but I'm better now."
-- Capitain Sheridan in Babylon 5
|
|