Log Files not Closed Properly when "Keep remotely disconnected tabs open" is Checked
M
Manuel
started a topic
about 4 years ago
Preconditions
Options > Behaviour > Tabs and Connections > Keep remotely disconnected tabs open checked
Terminal session A (SSH) with following settings in Properties > Advanced > Logging: Path: local path configured Create Sub-Directory with Connection Name checked Auto-Start Recording when Connected checked
Steps to reproduce
Start terminal session A
Type something in session
Terminate session remotely (e.g. Ctrl+C or "logout")
Go to dashboard of terminal session A
Select created log from top bar of dashboard
Experienced behaviour
Log is not displayed in lower area of dashboard
Log is displayed with size "0 B" even the file contains data (verified by file system inspection)
When pressing the "Play / Pause" button an error message is shown
Cannot play selected file: The process cannot access the file 'C:\Users\Manuel\Documents\Logs\Royal TS\opnsense-prod\20200720204723-opnsense-prod.ans' because it is being used by another process.
Expected behaviour
Log should be displayed in lower area of dashboard and file size should be filled with actual file size of log file.
Additional information
When disabling the setting "Keep remotely disconnected tabs open" the behaviour is as intended.
Manuel
Preconditions
Path: local path configured
Create Sub-Directory with Connection Name checked
Auto-Start Recording when Connected checked