Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Krys

Again, thanks for your answers.
I will see if there is a way - through scripting - to extract the data I wish for the session log.
martin

The session log is intended for a debugging, not for recording an user activity.
Krys

Thanks, this would be a nice thing to add (though I don't know how difficult this would be).

Is there a way to make the session log more "user-friendly" ?
All I want is something like :
TimeStamp - Session start
TimeStamp - Open Directory ...
TimeStamp - Download File ...
TimeStamp - Success
TimeStamp - Upload File ...
TimeStamp - Failure
TimeStamp - Session End

I don't need the dir/ls or other info about transfert modes...

Thanks in advance.
martin

Re: XML logging creates empty files

OK, you use background transfers. These are indeed not recorded in the XML log. Actually XML logging is primarily intended for scripting (where there's no background transfers). Though as it's made available in the GUI too, it makes sense that it should log background transfers too. Will consider this.
Krys

Re: XML logging creates empty files

martin wrote:

Are you using this from GUI or scripting?

I activated logging from GUI, don't know how to do from script (haven't searched that yet :? )

martin wrote:

Can you attach an XML and session log for the same session?

Sure, but as this is from professionnal environment, I had to delete some data (server name, login info, folders and files names)
These are from a connection, moving to another folder, then downloading a file.

Thanks for your answer...
martin

Re: XML logging creates empty files

Are you using this from GUI or scripting?
Can you attach an XML and session log for the same session?
Krys

XML logging creates empty files

Hi,

I recently tried to activate logging into an XML format.

When I open the XML file generated this way, all I get is the following :

<?xml version="1.0" encoding="UTF-8"?>
<session xmlns="https://winscp.net/schema/session/1.0" name="xxxxxx" start="2014-10-09T08:04:31.029Z">
</session>

whichever operations I make (downloads, uploads, directory creation...)

Logging in text format works correctly in the same saving directory and with the same naming convention.

Is there something else to configure to activate XML logging ?

Thanks for your help.