[Dxspider-support] Check_build

Dirk Koopman djk at tobit.co.uk
Fri Mar 24 16:43:48 GMT 2023


On 24/03/2023 14:52, Björn Ekelund via Dxspider-support wrote:
> Thanks Kin,
>
> the debug subfolders are gigantic. Is there a way to prune this data 
> automatically?
>
> Björn
>

First thing, if you are not interested in the full panoply of debug info 
available then, in a console type: set/deb progress nologchan

That by itself will reduce the debugging to less than 10% of the full 
output.

To make it 'stick', edit /spider/local/DXVars.pm and add those debug 
levels above into @debug = (chan state ....)

The standard issue mojo version looks like this (near the bottom of 
DXVars.pm):

    # are we debugging ?
    @debug = qw(chan state msg cron connect progress nologchan);


Which should do just fine for a "normal" node.

And the second, by default, the node will prune the debugging down to 
the latest $DXDebug::keepdays of files (normally 10) by itself, but you 
can change to something a bit smaller (probably no less than 5), if you 
like, in the startup script. Actually, thinking about it, you could just 
do 'set/debug progress nologchan' in that startup script while you are 
in there.

@debug = (...); was the original way of doing this, so I still do that. 
I am old-fashioned that way :-)

Dirk G1TLH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20230324/e67e2538/attachment.htm>


More information about the Dxspider-support mailing list