diff options
author | Yan Yang <yangyanyj@chinamobile.com> | 2018-03-27 06:12:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-27 06:12:57 +0000 |
commit | d4d1be38adec3ad158ad12bd956e36737695def4 (patch) | |
tree | a8aa9e5a00ba915d02f6be85e0ba0971485d9ae4 | |
parent | d678b87cec20d0186def04e2a29ad17f9b81a90d (diff) | |
parent | a59c264ba44362894271f859d7c816436df79bb5 (diff) |
Merge "Add vfc-nslcm logDir check"
-rwxr-xr-x | run.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -12,4 +12,16 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + +logDir="/var/log/onap/vfc/nslcm/" +if [ ! -x $logDir ]; then + mkdir -p $logDir +fi + nohup python manage.py runserver 0.0.0.0:8403 > /dev/null & + +while [ ! -f $logDir/runtime_nslcm.log ]; do + sleep 1 +done + +tail -F $logDir/runtime_nslcm.log
\ No newline at end of file |