parent
0965f6b2c5
commit
d3113f7f42
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
log () {
|
||||
m_time=`date "+%F %T"`
|
||||
echo $m_time" :: $scriptName :: $scriptVersion :: "$1 2>&1 | tee -a "/config/logs/$logFileName"
|
||||
echo $m_time" :: $scriptName :: $scriptVersion :: "$1
|
||||
echo $m_time" :: $scriptName :: $scriptVersion :: "$1 >> "/config/logs/$logFileName"
|
||||
}
|
||||
|
||||
logfileSetup () {
|
||||
|
|
Loading…
Reference in a new issue