LingxinMeng 6 месяцев назад
Родитель
Сommit
d72f2278ac
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/python2/pjibot/camera-nohup.sh
  2. 1 1
      src/python2/pjibot/camera-pjibot_guide.py

+ 1 - 1
src/python2/pjibot/camera-nohup.sh

@@ -5,4 +5,4 @@ if [ ! -d "./log" ]; then
 else
     echo "Directory './log' already exists."
 fi
-nohup python2 camera.py > log/camera.out 2>&1 &
+nohup python2 camera-pjibot_guide.py > log/camera-pjibot_guide.out 2>&1 &

+ 1 - 1
src/python2/pjibot/camera.py → src/python2/pjibot/camera-pjibot_guide.py

@@ -9,7 +9,7 @@ import logging
 
 path1 = '/mnt/disk001/dcl_data_process/src/python2/pjibot/'
 
-logging.basicConfig(filename=path1 + 'log/camera.log', level=logging.INFO,
+logging.basicConfig(filename=path1 + 'log/camera-pjibot_guide.log', level=logging.INFO,
                     format='%(asctime)s - %(levelname)s - %(message)s')
 
 key1 = 'pjibot/'