[PROXYPER] how to disable logs

Jeff Lawson jlawson at bovine.net
Wed Sep 25 23:40:14 EDT 2002


FYI, the next version of the proxy will have the option to keep only a
specified number of rotated logs, with older ones being deleted
automatically.  It will probably be released in a week or two.


-----Original Message-----
From: owner-proxyper at lists.distributed.net
[mailto:owner-proxyper at lists.distributed.net] On Behalf Of Messenger,
Mark
Sent: Monday, September 23, 2002 2:54 AM
To: 'proxyper at lists.distributed.net'
Subject: RE: [PROXYPER] how to disable logs


Ahh!  Pardon my arrogance :) 
I don't know of a way for this to be stopped, but if you set your "log
rotation" to "Daily", you should be able to set up a Scheduled Task
under 
Start::Settings::Control Panel::Scheduled Tasks to simply delete the
unwanted logs. 
Something like this might work: 
Create a batch file, say c:\winnt\system32\dellogs.bat with these
contents: 


@echo off 
del /f /q c:\program files\distributed.net\pproxy*.log 



(Substitute your own Dnet proxy directory, of course) 
Then, create a new Scheduled Task to run at 1:00am (or whenever you
want) that runs c:\winnt\system32\dellogs.bat 


Hope this helps ya out, and I apologize for my earlier attitude.  It was
a low-blood-sugar kinda comment:) 




-----Original Message----- 
From: Anuerin G. Diaz [mailto:adiaz at msi.net.ph] 
Sent: Monday, September 23, 2002 12:56 AM 
To: proxyper at lists.distributed.net 
Subject: Re: [PROXYPER] how to disable logs 



ok, pardon for my inability to communicate. im referring to the logs 
generated by the proxyper server like this one for the clients 
submitting rc5 work... 
2002-09-23 
06:19:59,73.47.60.48,myid at myemail.org,E371A21810000000,5,1,1,8015 
2002-09-23 
06:20:00,73.47.60.48,myid at myemail.org,E3719F8B90000000,1,1,1,8015 
2002-09-23 
06:20:00,73.47.60.48,myid at myemail.org,E3719F5A30000000,1,1,1,8015 
2002-09-23 
06:20:00,73.47.60.48,myid at myemail.org,E3714C9F20000000,3,1,1,8015 
2002-09-23 
06:20:00,73.47.60.48,myid at myemail.org,E2B4993AA0000000,4,1,1,8015 
2002-09-23 
06:28:37,73.47.60.79,myid at myemail.org,E371AEF300000000,3,1,1,8015 
2002-09-23 
06:28:37,73.47.60.79,myid at myemail.org,E371AB2890000000,6,1,1,8015 
2002-09-23 
06:28:37,73.47.60.79,myid at myemail.org,E371A10AD0000000,1,1,1,8015 
2002-09-23 
06:28:37,73.47.60.79,myid at myemail.org,E3714DED80000000,4,1,1,8015 
2002-09-23 
06:28:40,73.47.60.79,myid at myemail.org,E2FFC16880000000,3,1,1,8015 
the client has an option to generate logs using FIFO thus reducing the 
possibility of eating the diskspace. the proxy server does not have that

option and given the opportunity, it would happily munch away the 
diskspace. i am going away for a long time and have to make sure that 
the proxy server wont fill the diskspace with logs (relatively speaking 
of course). 
ciao! 


"Messenger, Mark" wrote: 
> 
> From my earlier email: 
> 
> From the Client: 
> 
> run "dnetc.exe -config" 
> choose option 4 (Logging options) 
> choose option 1 (Log file type) 
> enter "0" (none) 
> Press enter 
> Press enter 
> enter "0" to save and exit. 
> 
> Restart your Client. 
> 
> -----Original Message----- 
> From: Anuerin G. Diaz [mailto:adiaz at msi.net.ph] 
> Sent: Sunday, September 22, 2002 11:12 PM 
> To: proxyper at lists.distributed.net 
> Subject: Re: [PROXYPER] how to disable logs 
> 
> thanks ill do it but how about the logs on the submitting clients? 
> 
> ciao! 
> 
> David Bolt wrote: 
> > 
> > On Mon, 23 Sep 2002, Anuerin G. Diaz <adiaz at msi.net.ph> wrote:- 
> > 
> > > 
> > >now im embarrased because i didnt mention that it is running in a 
> Win2K 
> > >server. how can i point it to WinNT/Temp? would specifying it work?

> how 
> > >about the logs about the clients submitting work? :-) 
> > 
> > In that case, try pointing the logs at NUL: 
> > 
> > Regards, 
> >   David Bolt 
> > 
> 
> -- 
> 
> "Programming, an artform that fights back." 
> 
> ============================= 
> Anuerin G. Diaz 
> Design Engineer 
> Millennium Software, Incorporated 
> 2305 B West Tower, Philippines Stocks Exchange Center, 
> Exchange Road, Ortigas Center, Pasig City 
> 
> Tel# 637-4634 loc. 75 
> Fax# 637-4679 
> 
> Registered Linux User #246176 
> ============================= 
> -- 
> To unsubscribe, send 'unsubscribe proxyper' to 
> majordomo at lists.distributed.net 
-- 
"Programming, an artform that fights back." 
============================= 
Anuerin G. Diaz 
Design Engineer 
Millennium Software, Incorporated 
2305 B West Tower, Philippines Stocks Exchange Center, 
Exchange Road, Ortigas Center, Pasig City 
Tel# 637-4634 loc. 75 
Fax# 637-4679 
Registered Linux User #246176 
============================= 
-- 
To unsubscribe, send 'unsubscribe proxyper' to
majordomo at lists.distributed.net 

--
To unsubscribe, send 'unsubscribe proxyper' to majordomo at lists.distributed.net



More information about the proxyper mailing list