From 504cc486d0d11f852ac6639c5491ae96d951dc5d Mon Sep 17 00:00:00 2001
From: Lionel Gauthier <lionel.gauthier@eurecom.fr>
Date: Fri, 14 Feb 2014 10:57:42 +0000
Subject: [PATCH] Log stdout

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5077 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/PROJECTS/GENERIC-LTE-EPC/start_lte-epc-vlan.bash | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/start_lte-epc-vlan.bash b/targets/PROJECTS/GENERIC-LTE-EPC/start_lte-epc-vlan.bash
index 5676888cf7f..a9605e5fde7 100755
--- a/targets/PROJECTS/GENERIC-LTE-EPC/start_lte-epc-vlan.bash
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/start_lte-epc-vlan.bash
@@ -185,5 +185,7 @@ cd $OPENAIRCN_DIR/$OBJ_DIR
 
 ITTI_LOG_FILE=./itti_mme.log
 rotate_log_file $ITTI_LOG_FILE
+STDOUT_LOG_FILE=./stdout_mme.log
+rotate_log_file $STDOUT_LOG_FILE
 
-gdb --args $OPENAIRCN_DIR/$OBJ_DIR/OAI_EPC/oai_epc -K $ITTI_LOG_FILE -c $CONFIG_FILE
+$OPENAIRCN_DIR/$OBJ_DIR/OAI_EPC/oai_epc -K $ITTI_LOG_FILE -c $CONFIG_FILE | tee $STDOUT_LOG_FILE 2>&1
-- 
GitLab