XML logging only logs the beginning
We have been using the XML log instead of the session log for years now. We use the XML because it is easier to parse.
It is log to a file: C:/path/!S!D!M!Y!T.xml
In the past it would log perfectly all the activity. Suddenly with no changes it would create the log file but only log the beginning and nothing else:
<?xml version="1.0" encoding="UTF-8"?>
<session start="2016-05-17T08:14:11:358Z" name="SFTP" xmlns="https://winscp.net/schema/session/1.0"> </session>
Those are the only 2 lines it would save. This started last Friday. And this does not happen on every user. I compared the INI files of the settings between the user that works and doesn't and the logging section is almost the same.
The INI of the user that cannot log has these different:
LogFileName=%25TEMP%25%5C!S.log
LogWindowParams=-1;-1;500;400;0;96
The working user:
LogFileName=C:%5CUsers%5CUsername%5CDocuments%5C!S.log
LogWindowParams=-1;-1;500;400
I tried changing the entries but it still wouldn't work. I even tried removing the INI and starting fresh. I changed the setting to log to XML again, but it still wouldn't work.
Any ideas please?
It is log to a file: C:/path/!S!D!M!Y!T.xml
In the past it would log perfectly all the activity. Suddenly with no changes it would create the log file but only log the beginning and nothing else:
<?xml version="1.0" encoding="UTF-8"?>
<session start="2016-05-17T08:14:11:358Z" name="SFTP" xmlns="https://winscp.net/schema/session/1.0"> </session>
Those are the only 2 lines it would save. This started last Friday. And this does not happen on every user. I compared the INI files of the settings between the user that works and doesn't and the logging section is almost the same.
The INI of the user that cannot log has these different:
LogFileName=%25TEMP%25%5C!S.log
LogWindowParams=-1;-1;500;400;0;96
The working user:
LogFileName=C:%5CUsers%5CUsername%5CDocuments%5C!S.log
LogWindowParams=-1;-1;500;400
I tried changing the entries but it still wouldn't work. I even tried removing the INI and starting fresh. I changed the setting to log to XML again, but it still wouldn't work.
Any ideas please?