Complete.Org: Mailing Lists: Archives: freeciv-ai: May 2003:
[freeciv-ai] Re: DEBUG
Home

[freeciv-ai] Re: DEBUG

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Olivier DAVY <olivier.davy@xxxxxxx>, freeciv-ai <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] Re: DEBUG
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Fri, 9 May 2003 21:13:48 +0200

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



[Prev in Thread] Current Thread [Next in Thread]