
Move content from stx-utils into stx-integ or stx-update Packages will be relocated to stx-update: enable-dev-patch extras stx-integ: config-files/ io-scheduler filesystem/ filesystem-scripts grub/ grubby logging/ logmgmt tools/ collector monitor-tools tools/engtools/ hostdata-collectors parsers utilities/ build-info branding (formerly wrs-branding) platform-util Change-Id: I5613b2a2240f723295fbbd2783786922ef5d0f8b Story: 2002801 Task: 22687 Signed-off-by: Scott Little <scott.little@windriver.com>
27 lines
391 B
Bash
Executable File
27 lines
391 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#Copyright (c) 2016 Wind River Systems, Inc.
|
|
#
|
|
#SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
#PARSERDIR=$(dirname $0)
|
|
#LOGFILE="${PARSERDIR}/parserlog.txt"
|
|
LOGFILE="parserlog.txt"
|
|
|
|
function LOG ()
|
|
{
|
|
local tstamp_H=$( date +"%Y-%0m-%0e %H:%M:%S" )
|
|
echo -e "${tstamp_H} $0($$): $@" >> ${LOGFILE}
|
|
}
|
|
|
|
function ERRLOG ()
|
|
{
|
|
LOG "ERROR: $@"
|
|
}
|
|
|
|
function WARNLOG ()
|
|
{
|
|
LOG "WARN: $@"
|
|
}
|
|
|