Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know its possible to change the name of the logfile with "set filename"

I'd like to have screen write its log files to the name of the window. how can I accomplish this ?

share|improve this question

check the man and you will find that there is an escape

t    window title

that can be used in filenames

share|improve this answer
Thanks. I must have missed "or filenames". "logfile ~/logs/%t.log" does the tricks in .screenrc. – zack May 4 '10 at 12:52
Feel free to vote up or accept the answer :) – Unreason May 4 '10 at 13:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.