URL:
<http://savannah.gnu.org/bugs/?42984>
Summary: Specify log file via command line parameter
Project: GNU Screen
Submitted by: None
Submitted on: Thu 14 Aug 2014 09:41:11 AM UTC
Category: Feature Request
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: None
Planned Release: None
Work Required: None
_______________________________________________________
Details:
Use case: I start up a custom shell script in screen via incron. I would like
to log those screens to some destination other than the default
`screenlog.%n`. The command `logfile filename` does what I want, but I cannot
specify it via the command line.
where '$#' is the name of a newly changed file I have:
screen -d -m -L -S $# addjob.sh $#
and would like to do
screen -d -m -L -logfile ~/log/$#.log -S $# addjob.sh $#
or something.
Thank you for your consideration!
Florian
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42984>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/