[Freeciv-Dev] Re: (PR#6263) remove log spamming
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, 24 Sep 2003, Per I. Mathisen wrote:
> On Wed, 24 Sep 2003, Per I. Mathisen wrote:
> > See $subject. These freelogs were filling up my logs and making debugging
> > (-d 4) crawl to a halt.
>
> That was before I pressed 'start'. Then the worst offender became CM by
> far. It could easily fill up my hdd with its spamming over the course of
> an autogame, I am sure. It also makes turn ends so slow it is impossible
> to use -d4 now. There are so many stupid freelog calls in there that I
> don't know what to do.
>
> Maybe we should define a new log level, which is just LOG_DEAD, which
> never outputs anything at all, even at -d4? This way some log code can be
> left there inactive without destroying completely the option of running
> freeciv at -d4
Why do you want to do that in the first place?
LOG_DEBUG is like LOG_DEAD now, I don't see much difference.
And if Raimar wanted to debug CMA tomorrow, he would claim that AI debug
messages are spamming his logs.
A good freelog call is equivalent to a good comment.
G.
- [Freeciv-Dev] Re: (PR#6263) remove log spamming,
Gregory Berkolaiko <=
|
|