[feature request] Log

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

[feature request] Log

Post by *Valentino »

I'd like to resurrect this topic from the old forum because several days ago I ran into very grievous event: one my very big folder (almost 1 GB) disappeared :(! Not vital info but had some value for me. I was verrrrrry upset... I recovered some part of files but not all. So the question is: who deleted my files?!?! Maybe it was me, maybe someone other from my family, probably some program (malicious or just full of bugs), etc. The problem is that I don't know exactly when this dir has been deleted. If TC had log feature I could look in this log and see if I pressed accidentally Delete on that dir or not. At least I would know on whom to direct my curses :).
The log should contain smth like this:

Code: Select all

* 01.02.2003 12:34:46 Copy "C:\Dir1\" to "D:\Dir2\Dir3\"
* 01.02.2003 12:35:46 Copy "C:\Dir4\file1.exe" to "E:\Dir5\file2.exe"
* 01.02.2003 12:36:46 Copy "C:\Dir6\file3.txt" to "E:\Dir7\"
* 01.02.2003 12:37:46 Delete "F:\My Beloved Folder\"
and some tuning parameters, e.g. how many days to keep the log, max log size, which actions to log (e.g. 1=Copy,2=Move,4=Delete,8=Rename,16=Pack,32=Unpack,etc), and whether to make the log or not at all, of course.
User avatar
JackFoo
Senior Member
Senior Member
Posts: 373
Joined: 2003-02-05, 19:53 UTC
Location: ERROR

Post by *JackFoo »

I sympathize with the unfortunate incident but how will a log be helpful? In the best of events all you will see is:
[DATE] DELETE {My Very Big 1G Folder containing useful info}
So now what?
I for one think it's useless and will just be a performance hit... Besides IMO there are tons of other features TC should have before.

Cheers.
User avatar
André Martin
Senior Member
Senior Member
Posts: 245
Joined: 2003-02-05, 15:46 UTC
Location: Dresden, Germany

Post by *André Martin »

You can modify and add some "logging code" to the sample wfx plugin from Christian (which mirrors your local filesystem)... if you really need a "logging" feature...
Browse the web with the HTTP SmartBrowserPlugin
Check your mails with the POP3/SMTP EmailPlugin!
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

JackFoo wrote:So now what?
I already wrote what: if I see this line then it was me as stupid as to delete that folder. If I don't see this line (or different date) then it was somebody else or somewhat else (virus, buggy app).
JackFoo wrote:and will just be a performance hit
Valentino wrote:The log should contain ... some tuning parameters ... and whether to make the log or not at all, of course.
JackFoo wrote:Besides IMO there are tons of other features TC should have before.
Completely agree. I just want this to be added to the CG's wish list :). Moreover, probably we'll see 128967 posts here sayig "I want logging too!" so Christian will give it higher priority :). It's just
Valentino wrote:[feature request]
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

Andre Martin wrote:You can modify and add some "logging code" to the sample wfx plugin from Christian (which mirrors your local filesystem)...
Even if this plugin can provide all the TC's functionality I don't want to browse paths like "\\\Miror\C\Program Files\Tundra Soft\BastShoe.dat" :). It's like having Mercedes inside other Mercedes :). (I think no one will object that TC is Mercedes in the file managers world :))
Andre Martin wrote:if you really need a "logging" feature...
Not really, but... As I wrote I just want to know whose muzzle I must thrash... :twisted:
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 23-02-2003 01:45:55 +0000 Valentino wrote:

V> I think no one will object that TC is Mercedes
V> in the file managers world :)


I do. It's a "Leopard" tank (if you prefer German manufacturers... :mrgreen:)
Well, yes, I do agree with you, logging is a good thing sometimes. So you need only 128966 posts now ;). [/face]
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

Black Dog wrote:So you need only 128966 posts now ;).
OK, guys, let's start the countdown... :)

P.S. Smth says me that I chose too high number... :(
User avatar
JackFoo
Senior Member
Senior Member
Posts: 373
Joined: 2003-02-05, 19:53 UTC
Location: ERROR

Post by *JackFoo »

Would a negative vote count as -1? ;@)
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 23-02-2003 14:50:53 +0000 JackFoo wrote:

J> Would a negative vote count as -1? ;@)

No >8[=~=].[/face]
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

count = count + 1
:wink:
User avatar
JackFoo
Senior Member
Senior Member
Posts: 373
Joined: 2003-02-05, 19:53 UTC
Location: ERROR

Post by *JackFoo »

@BD
ASCII RULEZ!!!
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

poiuytr wrote:count = count + 1
Making very easy math conversion:
count = count + 1 ==> count = count - 1
This form looks better, doesn't it? :)
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

Valentino wrote:
poiuytr wrote:count = count + 1
Making very easy math conversion:
count = count + 1 ==> count = count - 1
This form looks better, doesn't it? :)
Do you mean
count = count + 1 =>
count - 1 = count + 1 - 1 =>
count - 1 = count
?

Allright, Valentino, you catch me, this form is absolutly not mathematical.
May be count++ or inc(count) is more preferable?
:wink:
User avatar
Hacker
Moderator
Moderator
Posts: 13102
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Valentino,
count isn't a Lvalue... ;)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
mhe
Junior Member
Junior Member
Posts: 71
Joined: 2003-02-16, 15:09 UTC

Post by *mhe »

I agree this could be useful.
Even more so with a "max log file size" feature.
Post Reply