|
@@ -21,6 +21,7 @@ log() { |
|
|
|
|
|
|
|
|
#log here |
|
|
#log here |
|
|
echo "${log_priority} : ${log_message}" |
|
|
echo "${log_priority} : ${log_message}" |
|
|
|
|
|
echo $(date '+%d-%m-%Y %H:%M') "${log_priority} : ${log_message}" >> /var/log/noaa.log |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
## current date and folder structure |
|
|
## current date and folder structure |
|
|