Differences

This shows you the differences between the selected revisions of the page.

2005-03-02 2005-05-09
update screenshot (martin) 3.7.5 Logging level (martin)
Line 7: Line 7:
Once the logging is enabled, you can configure the //Logging options//. Once the logging is enabled, you can configure the //Logging options//.
 +
 +In //Logging level// you can select //Debug 1// or //Debug 2// for more verbose logging. You will probably need these (together with logging to file), when reporting bugs only.
To enable logging to file tick //Log to file// checkbox and specify log file. If you select //Append// option, and the logging file already exists, session log will be appended to the end of the file. Otherwise the existring file will be overwritten. If you enable logging to file in mid-session the past events will not be written to the log retrospectively. Note that simultaneous logging of several sessions to file is not supported. To enable logging to file tick //Log to file// checkbox and specify log file. If you select //Append// option, and the logging file already exists, session log will be appended to the end of the file. Otherwise the existring file will be overwritten. If you enable logging to file in mid-session the past events will not be written to the log retrospectively. Note that simultaneous logging of several sessions to file is not supported.
Line 12: Line 14:
When you tick //Show log window// checkbox, session log window will appear. For peformance reasons it is recommended to limit number of displayed lines. Note that if you tick //Show log window// checkbox on Login dialog, the log window will appear only after you open the session. Once the session is already opened you can show/hide log window also from //Options// menu and from toolbar. If you display log window in mid-session the past events will be displayed only if the //Enable logging// was already ticked before. When you tick //Show log window// checkbox, session log window will appear. For peformance reasons it is recommended to limit number of displayed lines. Note that if you tick //Show log window// checkbox on Login dialog, the log window will appear only after you open the session. Once the session is already opened you can show/hide log window also from //Options// menu and from toolbar. If you display log window in mid-session the past events will be displayed only if the //Enable logging// was already ticked before.
-===== Protocol (Low-Level) Logging ===== 
-For debugging reasons WinSCP allows low-level protocol logging (SFTP only). To enable it you have to edit [[config|configuration]] manually.  
- 
-First make sure that WinSCP is not running. 
- 
-If you are using Window Registry (the default) as configuration storage import following REG file (store the following lines to ''logging.reg'' file and double-click it): 
-<code> 
-REGEDIT4 
- 
-[HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration\Logging] 
-"LogProtocol"=dword:00000002 
-</code> 
- 
-If you are using INI file as configuration storage modify the INI file as follows: 
-<code> 
-... 
-[Configuration\Logging] 
-... 
-LogProtocol=2 
-... 
-</code> 
- 
-Then run WinSCP and enable logging to file. The log file will contain more verbose information. 

Last modified: by martin