Bug 7209 - tl-session retains reference to vsmagent.log
Summary: tl-session retains reference to vsmagent.log
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: 1.3.1
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Pierre Ossman
Depends on: 6117
  Show dependency treegraph
Reported: 2018-07-09 15:42 CEST by Pierre Ossman
Modified: 2021-06-30 09:37 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2018-07-09 15:42:36 CEST
When we start tl-session we keep a attach vsmagent.log to stdout and stderr. We do this in order to get logging from tl-session to the right place. However this method causes issues due to the fact that we retain this reference for the lifetime of the session:

 * We log to the wrong file once the logs are rotated

 * Removing a log file doesn't actually remove it from disk until the session ends. This can be a problem when something bad is happening and the log files are growing rapidly.
Comment 2 Pierre Ossman cendio 2019-11-22 16:15:36 CET
Probably best solved by using syslog (bug 5452).

Note You need to log in before you can comment on or make changes to this bug.