rejetto forum
February 09, 2012, 04:33:48 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: deletion log  (Read 3462 times)
0 Members and 1 Guest are viewing this topic.
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 339


View Profile
« on: April 28, 2009, 11:43:00 AM »

In 236 Log:
Delete is a great addition to the log, but.....
The delete record is displayed in the log window and log file as:
4/28/09 11:16:45 AM user@192.168.1.100:1132{M1 LAN} Deleted files in /Server/Shared_Files/
> Print Screen.txt
> Start-Up.wav
> xld.LastValue.zip
Should be:
4/28/09 11:16:45 AM user@192.168.1.100:1132{M1 LAN} Deleted files in /Server/Shared_Files/ > Print Screen.txt > Start-Up.wav > xld.LastValue.zip
All on one line. Really screws up the log file.

« Last Edit: April 28, 2009, 11:57:07 AM by r][m » Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1023


....... chut ! shh!


View Profile WWW
« Reply #1 on: April 28, 2009, 11:53:41 AM »

This is a problem of presentation or standard format of log?
For me, to choose, I prefer the multilines solution.

I imagine 60 files on 1 line...  Grin
« Last Edit: April 28, 2009, 11:56:56 AM by SilentPliz » Logged
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 339


View Profile
« Reply #2 on: April 28, 2009, 12:06:31 PM »

This is a problem of presentation or standard format of log?
For me, to choose, I prefer the multilines solution.

I imagine 60 files on 1 line...  Grin
I see your point, but it doesn't work with any sort of log analysis as a list.
Recording log data is useless unless you have a way of harvesting the data.
Imagine searching through a 2,000 lines of log to find an entry.
When its all on one line it should just wrap your 60 items, but they will be placed
in the proper section. As a list they fall in the same section as date - big mess.

It could be very useful if archive logged the same way  Smiley
« Last Edit: April 28, 2009, 12:19:45 PM by r][m » Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1468



View Profile WWW
« Reply #3 on: April 28, 2009, 12:59:28 PM »

This is a problem of presentation or standard format of log?
For me, to choose, I prefer the multilines solution.

I imagine 60 files on 1 line...  Grin
I see your point, but it doesn't work with any sort of log analysis as a list.
Recording log data is useless unless you have a way of harvesting the data.
Imagine searching through a 2,000 lines of log to find an entry.
When its all on one line it should just wrap your 60 items, but they will be placed
in the proper section. As a list they fall in the same section as date - big mess.

It could be very useful if archive logged the same way  Smiley

if you use an external software to analyze the log, here is a solution to mark the end of deleted informations

Quote
    if logDeletionsChk.checked and assigned(done) then
      add2log('Deleted files in '+url+CRLF+join(CRLF, done)+CRLF+'End of Deleted files in '+url+CRLF), data);
    if logDeletionsChk.checked and assigned(errors) then
      add2log('Failed deletion in '+url+CRLF+join(CRLF, errors)+CRLF+'End of Failed deletion in '+url+CRLF), data);
    end; // deletion
« Last Edit: May 04, 2009, 04:15:24 PM by mars » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11756


View Profile
« Reply #4 on: April 30, 2009, 05:43:53 AM »

i splitted this topic so we can discuss it without digging old betas topics.
i will now publish #237 and we'll continue after.
Logged
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 339


View Profile
« Reply #5 on: May 01, 2009, 12:54:01 PM »

Presently have Delete unchecked in 237
It produces log entrys out of sequence as in SS
attached.


* log.JPG (57.62 KB, 767x289 - viewed 294 times.)
Logged
rejetto forum
« Reply #5 on: May 01, 2009, 12:54:01 PM »

Do you like this software? Consider even $2
 Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11756


View Profile
« Reply #6 on: May 03, 2009, 08:26:12 PM »

you had it unchecked, the restarted hfs, and because of a bug, it was enabled again.
it will be fixed in next build.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11756


View Profile
« Reply #7 on: May 03, 2009, 08:29:41 PM »

I see your point, but it doesn't work with any sort of log analysis as a list.
Recording log data is useless unless you have a way of harvesting the data.
Imagine searching through a 2,000 lines of log to find an entry.
When its all on one line it should just wrap your 60 items, but they will be placed
in the proper section. As a list they fall in the same section as date - big mess.

i can suggest an option to convert all "blue lines" to a single tabbed line in the standard log file.

Quote
It could be very useful if archive logged the same way  Smiley

would it?
Logged
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 339


View Profile
« Reply #8 on: May 03, 2009, 10:21:00 PM »

you had it unchecked, the restarted hfs, and because of a bug, it was enabled again.
it will be fixed in next build.
I don't understand what you mean?
i can suggest an option to convert all "blue lines" to a single tabbed line in the standard log file.
I think it would be best to keep the log output in a consistent format.
Quote
would it?
The log lists files downloaded one at a time, now delete produces a log list, why not a
list of whats in a down loaded archive? (if its possible?)
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11756


View Profile
« Reply #9 on: May 04, 2009, 01:43:08 PM »

I don't understand what you mean?

there is a bug, but it's not the one i initially deduced by your report.

Quote
I think it would be best to keep the log output in a consistent format.

the output you require doesn't seem to be convenient for human reading.
hfs is designed also for transient usage, where only human reading takes place.

Quote
The log lists files downloaded one at a time, now delete produces a log list, why not a
list of whats in a down loaded archive? (if its possible?)

reasonable.
Logged
bacter
Operator
Insane poster
*****
Offline Offline

Spain Spain

Posts: 677


View Profile
« Reply #10 on: May 04, 2009, 04:22:19 PM »

perhaps not to complicated:

hfs could use a redefinable macro for delete- and download-log in the format rejetto and most users prefere, and those who want could set the macro with a {.set|deletelog|%timestamp% %ip% %user% deleted $1 $2 $3 $4.. .} or something similar that would be used instead of the default format ?
Logged

your computer has no brain - use your own !
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 339


View Profile
« Reply #11 on: May 11, 2009, 11:00:21 AM »

i can suggest an option to convert all "blue lines" to a single tabbed line in the standard log file.
How could I do this?
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11756


View Profile
« Reply #12 on: May 11, 2009, 11:12:17 AM »

i can suggest an option to convert all "blue lines" to a single tabbed line in the standard log file.
How could I do this?

you can't. i suggested as solution. i would make such option, if it's a good solution.
Logged
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 339


View Profile
« Reply #13 on: May 12, 2009, 12:03:44 AM »

you can't. i suggested as solution. i would make such option, if it's a good solution.
In events, maybe?
Sounds good to me.  Smiley
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11756


View Profile
« Reply #14 on: May 12, 2009, 05:27:40 AM »

no, it would be an option inside the log menu.
like "Tabbed instead of multi-line for the log file".
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page February 08, 2012, 05:49:47 PM
anything