uploaded files
Moderator: Moderators
-
- Posts: 11
- Joined: 2003-06-26 10:51
- Contact:
uploaded files
ive had a look for this and cant find it, is there anyway to keep a log of all uploaded files, before and after a restart, if there isnt, what the chances of it bein considered?
TIA
TIA
of all the things ive lost, i miss my mind the most - Ozzy Osbourne
dchub://cyberphobia.no-ip.info
dchub://cyberphobia.no-ip.info
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
-
- Posts: 84
- Joined: 2003-05-02 06:30
I think he meant not as the "finished downloads" and "finished uploads" windows in dc++ that are cleared everytime you restart dc.TheParanoidOne wrote:The "before and after restart" bit confused me.
There is no pleasure in having nothing to do; the fun is in having lots to do and not doing it.
-Mary Wilson Little
-Mary Wilson Little
-
- Posts: 11
- Joined: 2003-06-26 10:51
- Contact:
yeah, sorry maybe i should of made that a bit clearer, yes i know you can log all uploads and downloads, but i was just curious if there was a way for them not to be wiped from the uploads and downloads windows within DC++ whenever you restart the program
is that any clearer?
is that any clearer?
of all the things ive lost, i miss my mind the most - Ozzy Osbourne
dchub://cyberphobia.no-ip.info
dchub://cyberphobia.no-ip.info
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
Much.CyberPhobia wrote:is that any clearer?
How much would you actually want to keep in the window? The last X lines? All?
If the former, then that's another piece of information that needs to be saved and reloaded by DC++. Seems redundant saving that information when you can turn logging on.
If the latter, then I guess it would make sense to be able to parse the upload log and display it. I would imagine that would slow down startup significantly though!
Having thought about it, I guess you could have the best of both worlds - parse the last X lines from the upload log, perhaps.
Which of these options is closest to what you are after?
-
- Posts: 11
- Joined: 2003-06-26 10:51
- Contact:
well an option to keep as much as you want, say the last day, 2 days, 3 daysi m not really sure, if i had it my way i would keep all logs, but like you said that would hinder the loadin of DC++
just somethin you can get from the uploads log really, since that keeps a log of everythin uploaded
if it is read from the uploads log then it doesnt hinder the startup of the program, since its readin from an external source
im not really sure, anyone else got some ideas on this?
just somethin you can get from the uploads log really, since that keeps a log of everythin uploaded
if it is read from the uploads log then it doesnt hinder the startup of the program, since its readin from an external source
im not really sure, anyone else got some ideas on this?
of all the things ive lost, i miss my mind the most - Ozzy Osbourne
dchub://cyberphobia.no-ip.info
dchub://cyberphobia.no-ip.info
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
Actually, no. There will be a CPU hit to load and parse the log file. Doesn't matter where it is read from.CyberPhobia wrote:if it is read from the uploads log then it doesnt hinder the startup of the program, since its readin from an external source
I would imagine that it would be longer than the delay caused at startup in generating the file list. Of course, it would depend on the log size.
If you want to keep all the logs, a better alternative might be an internal log viewer. It would be laid out using the same columns as the finished uploads. The difference would be that you would go into it, knowing that it might take a while to load. The finished uploads/downloads can then be left as they are, to just quickly show what has happened in the current session.
Ulike the raw log file, the log window could be sorted by the appropriate criteria (column). I guess you could also do things like filtering and summing and ... I should stop before I get carried away. I like the log window idea!
What do you think of it?
-
- Posts: 11
- Joined: 2003-06-26 10:51
- Contact:
-
- Posts: 11
- Joined: 2003-06-26 10:51
- Contact:
yeah that would work, but couldnt you script that into the uploads windows as it is now?TheParanoidOne wrote:a better alternative might be an internal log viewer.
good thought, but how would you decide how and which filters to use? just the normal ones, date, time, user, filename, hubTheParanoidOne wrote:the log window could be sorted by the appropriate criteria (column). I guess you could also do things like filtering and summing and ...
ive got 0 coding skills, im graspin at straws, takin a stab in the dark, etc
it would be better if other people chucked some suggestions in, there might be some really good ones out there
of all the things ive lost, i miss my mind the most - Ozzy Osbourne
dchub://cyberphobia.no-ip.info
dchub://cyberphobia.no-ip.info
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
I've seen this request before, and I coded the Finished Uploads feature (though it was not much work since I just copied the Finished Downloads window.) This feature has no appeal to me, and gets into one of the messiest areas of programming (in my opinion): parsing text filess. The Uploads.log is customizable, and the log format can change at any time, so the patch would have to robustly handle any and all format changes.CyberPhobia wrote:anyone else got some ideas on this? if so please let us know
In addition, the window's list is re-created every time you open it, so every time you close and open the Finished Uploads folder, you'd have to parse the log... Unless you read it into the FinishedManager on startup.
It's a lot more trouble than it's worth, to me, but someone else might be persuaded to code it.
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37