refresh log
This commit is contained in:
@@ -13,7 +13,7 @@ logfile="/tmp/ffmpeg.log"
|
|||||||
#########################
|
#########################
|
||||||
|
|
||||||
function log() {
|
function log() {
|
||||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] [$pid] [$1] $2" >> $logfile
|
echo "[$(date '+%Y-%m-%d %H:%M:%S')] [$pid] [$1] $2" > $logfile
|
||||||
}
|
}
|
||||||
function newline() {
|
function newline() {
|
||||||
echo "" >> $logfile
|
echo "" >> $logfile
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ logfile="/tmp/gst-launch-1.0.log"
|
|||||||
#########################
|
#########################
|
||||||
|
|
||||||
function log() {
|
function log() {
|
||||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] [$pid] [$1] $2" >> $logfile
|
echo "[$(date '+%Y-%m-%d %H:%M:%S')] [$pid] [$1] $2" > $logfile
|
||||||
}
|
}
|
||||||
function newline() {
|
function newline() {
|
||||||
echo "" >> $logfile
|
echo "" >> $logfile
|
||||||
|
|||||||
Reference in New Issue
Block a user