How do i log GNU screen output to a file ?
Sorry stupid question here , Ive read the section on logging in the manual here but i cant get my head around this
I want to log the output every second to /mnt/md1/public/output but according to the manual the same command thats used to set the file name is used to set the delay — Command: logfile filename — Command: logfile flush secs Can anyone help me out ? Thanks |
If I remember correctly, isn't it just
Code:
screen -L |
Yeah but i need to set the log file location and the frequency it logs at , Its for a program to interprit so its important i get the log file in a public share and not in some inaccessible folder
|
It is logged whenever there is output. The location is ~/screenlog.*; you could use any number of options to copy it/rotate the logs.
|
All times are GMT -5. The time now is 06:31 AM. |