Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.