Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Which option in screenrc working like "screen -L"? I want turn on logging globaly. Try option "log on" into /etc/screenrc, but write "log: window required" when screen startup.

share|improve this question
up vote 2 down vote accepted

Use deflog on instead of log on.

From the manpage:

 deflog on|off

   Same as the log command except that the default setting for new windows is changed. Initial setting is off.

If you really want to use log on, you need to first select a window with screen 0, but be aware this configuration does not configure logging for all windows...

share|improve this answer

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.