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.
Probably best solved by using syslog (bug 5452).