bugGNU Screen - Bugs: bug #39012, Command line to enable logging...


bug #39012: Command line to enable logging does not work -X log

Submitted by:  None
Submitted on:  Thu 16 May 2013 10:27:51 PM UTC  
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.0.3
Fixed Release:  None Planned Release:  None
Work Required:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 16 May 2013 10:33:25 PM UTC, comment #1:

I actually filed this bug. I now have an account. Anyway I can change the submitter from Anonymous to me?

smanders <smanders>
Thu 16 May 2013 10:27:51 PM UTC, original submission:

I am unable to kick off logging through the command to a detached session. I have to attach to the session and issue a :log or a C-a H. However, the example below does not work.

# screen -d -m -S test_prog -t "Test Prog" ping
# screen -ls
There are screens on:
7254.test_prog (Detached)
1 Sockets in /var/run/screen/S-root.

# screen -S test_prog -X logfile test_prog.txt
# screen -S test_prog -X log

I also tried:

# screen -S test_prog -X log on

Still no files ever appear in the local directory. However, if I attach and issue a :log command or C-a H, it works. The file test_prog.txt appears in the local directory.

Please let me know if you need any more information.




(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by smanders (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3