Go Back   FlashFXP Forums > > > >

Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-02-2003, 04:28 AM   #1
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default logrotation

possible to integrate logrotation for day, week, month and maybe year?

and also to specify what exactly to log? maybe only user but no ip or ip in "xxx"ed style...

just an idea
toki is offline   Reply With Quote
Old 11-02-2003, 04:38 AM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

1) Logs rotation is something that has to be done by a script, not by the ftp daemon itself.
I know at least one that can do it.

2) Why do you want to hide users' ips in logfiles ?
Harm is offline   Reply With Quote
Old 11-02-2003, 04:57 AM   #3
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

Quote:
Originally posted by Harm
2) Why do you want to hide users' ips in logfiles ?
A degree of protection for users if feds turn up on doorstep i'd assume
EwarWoo is offline   Reply With Quote
Old 11-02-2003, 05:06 AM   #4
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

LOL

ip hiding was just an example. in general for me it is interesting to have:

time, user login/logout and
time, user kb duration of ul/dl and r/w to verify whether ul or dl

(what the hell are feds *fg*)

but i am interested in the logrotation script... could you tell me plz?
toki is offline   Reply With Quote
Old 11-02-2003, 06:06 AM   #5
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Read only what you're interested in then and skip other items in the logfiles.

Here is a clue about the script : :banana:
Harm is offline   Reply With Quote
Old 11-02-2003, 06:17 AM   #6
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

hm. i didnt want to install complete iobanana only to get log rotation... maybe later....
toki is offline   Reply With Quote
Old 11-02-2003, 11:31 AM   #7
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

How about installing only one line of ioBanana in your .ini to have log rotation ?
You should be able to guess which one u need.
Mouton is offline   Reply With Quote
Old 11-03-2003, 04:44 AM   #8
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

hm didnt know what components working standalone. but ill try.
toki is offline   Reply With Quote
Old 01-03-2004, 10:08 AM   #9
MastaJ
Junior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 6
Default

if you want to be extra safe...use a batch file and put it in the scheduler. for example:
_____________________________________
****LOGS = **** EXEC ..\scripts\****logs.bat
_____________________________________

then in ****logs.bat put:
__________________________
cd /d c:\your\path\to\ioftpd\logs
del ioftpd.log
del SysOp.log
del xferlog
echo none >> ioFTPD.log
_____________________

not sure if this is what you wanted...but it works..
MastaJ is offline   Reply With Quote
Reply

Tags
idea, logrotation, style, user, xxxed

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:46 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)