A logger?

Features wanted...
Post Reply
serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

A logger?

Post by serendipity »

This wish coincides with probably the "undo" feature.
Is it possible to have a detailed log of al lthe actions i do on XY? Actions like copying files, deleting them, renaming them etc. I think in many cases i would find this extremely useful because most of my time spent on file manager is to hunt for files and trying to remember what actions i did earlier.

I know this means XY actively writing logs all the time which could be resource consuming (?), but if user could choose what logs to keep and what logs to ignore this could really help a lot in my opinion. A low level logging would be to just monitor what files are deleted or moved etc.

Imagine looking for some renamed files or moved files in some place which you remember working yesterday. Now with this feature you can go to yesterday's log at a specific time and look up what you exactly did. voila you know where it is now.
Does this make sense? i guess future undo with not undo actions to this extent, but the logic is somewhat same.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: A logger?

Post by j_c_hallgren »

serendipity wrote:Imagine looking for some renamed files or moved files in some place which you remember working yesterday. Now with this feature you can go to yesterday's log at a specific time and look up what you exactly did. voila you know where it is now.
Does this make sense?
I could see this useful also to locate exactly where user drag-n-drop'd files when they ended up in a unintended location...

Theer are various ways to do this, such as day-by-day, or a numeric limit of entries or such, but in any case, I do agree this feature would be good to have.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 66323
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: A logger?

Post by admin »

Yes, I have this on my list, filed under "audit trail". It is indeed related to Undo, and whenever I do one of them I'll do the other as well.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: A logger?

Post by serendipity »

admin wrote:Yes, I have this on my list, filed under "audit trail". It is indeed related to Undo, and whenever I do one of them I'll do the other as well.
Thanks Don, I am glad its on your list, but with so much to do with DP and other features, I am expecting this only next year. Happy coding!

admin
Site Admin
Posts: 66323
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: A logger?

Post by admin »

serendipity wrote:
admin wrote:Yes, I have this on my list, filed under "audit trail". It is indeed related to Undo, and whenever I do one of them I'll do the other as well.
Thanks Don, I am glad its on your list, but with so much to do with DP and other features, I am expecting this only next year. Happy coding!
By the way, are you aware of any standard format for such action logs? (I dislike the term "audit trail"... :) )

RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: A logger?

Post by RalphM »

You're talking about the format of the content of the log, I suppose?
Because the name "action log" sounds fine for me.

As for content, there might be various formats I guess, but what I would expect is a timestamp, command ID and name of action performed, all sortable of course.
It might become a bit hairy when it comes to scripts: do you log only the script name or all the actions performed by it as well?
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: A logger?

Post by j_c_hallgren »

RalphM wrote:It might become a bit hairy when it comes to scripts: do you log only the script name or all the actions performed by it as well?
I would think that the name of the current "routine" that executed the cmd should be logged...

But then there could be a subroutine...so maybe something like:
Main routine (current routine) timestamp command actions
So even if there may be some intermediate routines, only the highest level and actual routine would be listed...
When there is no script, then it would just have "XYplorer (Main)" or similar...

I'd think using some std delimiters that would make import to Excel or other spreadsheet easier, such as a CSV or tab-delimited format, would be a good idea as well.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 66323
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: A logger?

Post by admin »

RalphM wrote:As for content, there might be various formats I guess, but what I would expect is a timestamp, command ID and name of action performed, all sortable of course.
Yes, something like that. I just wonder if there is a (de facto) standard for this. In that case I would prefer to follow it.

all sortable of course: you mean, separated by (e.g.) TABs, or what?

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: A logger?

Post by j_c_hallgren »

admin wrote:Yes, something like that. I just wonder if there is a (de facto) standard for this. In that case I would prefer to follow it.
I'd see what the competing products have for layout/format as a basis...and if there seems to be a pattern there..
all sortable of course: you mean, separated by (e.g.) TABs, or what?
Tab separated would be compatible with import to a spreadsheet for sorting if needed.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: A logger?

Post by RalphM »

admin wrote:all sortable of course: you mean, separated by (e.g.) TABs, or what?
Yep, whatever separator that enables us to sort column wise, either in Excel but in the viewer itself would be even better...
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: A logger?

Post by serendipity »

Sorry i was not following this for a while, but all sounds good to me. Yes, sortable is the important part, as long as its exportable to CSV kind of format its fine.
Wow, basically you will sew this log together with the actions and that makes "undo" right?

Post Reply