Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Json response on server

         

  • Sample log

    root@RaspberryPi-Gateway:/rdklogs/logs# tail -f dcmscript.log &
    [1] 6839
    root@RaspberryPi-Gateway:/rdklogs/logs#  Starting execution of DCMscript.sh
    TFTP_SERVER: xconf.rdkcentral.com
    Telemetry Profile File Being Used : /tmp/DCMSettings.conf
    230411-07:01:54.887232 dca upload url from dcmresponse is https://xconf.rdkcentral.com/xconf/telemetry_upload.php
    Build Type: dev Log file: 04-11-23-07-01AM.tgz TFTP Server: https://xconf.rdkcentral.com/xconf/logupload.php Protocol: 0 UploadHttpLink: 0
    The Previous Logs folder is missing
    230411-07:01:55.237896 dca : Only Direct connection is available
    230411-07:01:55.259956 dca: Sleeping for 9 before upload.
    Uploading Logs with DCM UploadOnReboot set to true
    Build Type: dev Log file: 04-11-23-07-01AM.tgz TFTP Server: https://xconf.rdkcentral.com/xconf/logupload.php Protocol: 0 UploadHttpLink: 0
    Uploading Logs with DCM UploadOnReboot set to true
    230411-07:02:05.562055 dca: Direct connection success - ret:0
    230411-07:02:05.574482 dca: Json message successfully submitted.
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-ArmConsolelog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-BootTime.log
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-CRlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-Consolelog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-FirewallDebug.txt
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-LM.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-MnetDebug.txt
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-PAMlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-PARODUSlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-PSMlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-TDMlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-TR69log.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-WEBPAlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-WiFilog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-dcmscript.log
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-swupdate.log
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-02AM-version.txt
    04-11-23-07-02AM-ArmConsolelog.txt.0
    04-11-23-07-02AM-BootTime.log
    04-11-23-07-02AM-CRlog.txt.0
    04-11-23-07-02AM-Consolelog.txt.0
    04-11-23-07-02AM-FirewallDebug.txt
    04-11-23-07-02AM-LM.txt.0
    04-11-23-07-02AM-MnetDebug.txt
    04-11-23-07-02AM-PAMlog.txt.0
    04-11-23-07-02AM-PARODUSlog.txt.0
    04-11-23-07-02AM-PSMlog.txt.0
    04-11-23-07-02AM-TDMlog.txt.0
    04-11-23-07-02AM-TR69log.txt.0
    04-11-23-07-02AM-WEBPAlog.txt.0
    04-11-23-07-02AM-WiFilog.txt.0
    04-11-23-07-02AM-dcmscript.log
    04-11-23-07-02AM-swupdate.log
    04-11-23-07-02AM-version.txt
    Uploading logs 04-11-23-07-01AM.tgz  onto https://xconf.rdkcentral.com/xconf/logupload.php
    tar: 04-11-23-07-01AM.tgz: file is the archive; skipping
    04-11-23-07-02AM-ArmConsolelog.txt.0
    04-11-23-07-02AM-BootTime.log
    04-11-23-07-02AM-CRlog.txt.0
    04-11-23-07-02AM-Consolelog.txt.0
    04-11-23-07-02AM-FirewallDebug.txt
    04-11-23-07-02AM-LM.txt.0
    04-11-23-07-02AM-MnetDebug.txt
    04-11-23-07-02AM-PAMlog.txt.0
    04-11-23-07-02AM-PARODUSlog.txt.0
    04-11-23-07-02AM-PSMlog.txt.0
    04-11-23-07-02AM-TDMlog.txt.0
    04-11-23-07-02AM-TR69log.txt.0
    04-11-23-07-02AM-WEBPAlog.txt.0
    04-11-23-07-02AM-WiFilog.txt.0
    04-11-23-07-02AM-dcmscript.log
    04-11-23-07-02AM-swupdate.log
    04-11-23-07-02AM-version.txt
    Uploading logs 04-11-23-07-01AM.tgz  onto https://xconf.rdkcentral.com/xconf/logupload.php
    Moving to Previous Logs Backup Folder
    Moving to Previous Logs Backup Folder
    tail: dcmscript.log: file truncated
    Uploading Logs with DCM UploadOnReboot set to true
    Telemetry Profile File Being Used : /tmp/DCMSettings.conf
    230411-07:05:11.424110 dca upload url from dcmresponse is https://xconf.rdkcentral.com/xconf/telemetry_upload.php
    Build Type: dev Log file: 04-11-23-07-05AM.tgz TFTP Server: https://xconf.rdkcentral.com/xconf/logupload.php Protocol: 0 UploadHttpLink: 0
    230411-07:05:11.667428 dca : Only Direct connection is available
    230411-07:05:11.685759 dca: Sleeping for 9 before upload.
    Uploading Logs with DCM UploadOnReboot set to true
    230411-07:05:22.145133 dca: Direct connection success - ret:0
    230411-07:05:22.154718 dca: Json message successfully submitted.
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-ArmConsolelog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-BootTime.log
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-CRlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-Consolelog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-FirewallDebug.txt
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-LM.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-MnetDebug.txt
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-PAMlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-PARODUSlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-PSMlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-TDMlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-TR69log.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-WEBPAlog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-WiFilog.txt.0
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-dcmscript.log
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-swupdate.log
    /lib/rdk/uploadSTBLogs.sh: line 167: /bin/timestamp: No such file or directory
     Processing file...04-11-23-07-05AM-version.txt
    04-11-23-07-05AM-ArmConsolelog.txt.0
    04-11-23-07-05AM-BootTime.log
    04-11-23-07-05AM-CRlog.txt.0
    04-11-23-07-05AM-Consolelog.txt.0
    04-11-23-07-05AM-FirewallDebug.txt
    04-11-23-07-05AM-LM.txt.0
    04-11-23-07-05AM-MnetDebug.txt
    04-11-23-07-05AM-PAMlog.txt.0
    04-11-23-07-05AM-PARODUSlog.txt.0
    04-11-23-07-05AM-PSMlog.txt.0
    04-11-23-07-05AM-TDMlog.txt.0
    04-11-23-07-05AM-TR69log.txt.0
    04-11-23-07-05AM-WEBPAlog.txt.0
    04-11-23-07-05AM-WiFilog.txt.0
    04-11-23-07-05AM-dcmscript.log
    04-11-23-07-05AM-swupdate.log
    04-11-23-07-05AM-version.txt
    Uploading logs 04-11-23-07-04AM.tgz  onto https://xconf.rdkcentral.com/xconf/logupload.php
    04-11-23-07-04AM.tgz
    04-11-23-07-05AM-ArmConsolelog.txt.0
    04-11-23-07-05AM-BootTime.log
    04-11-23-07-05AM-CRlog.txt.0
    04-11-23-07-05AM-Consolelog.txt.0
    04-11-23-07-05AM-FirewallDebug.txt
    04-11-23-07-05AM-LM.txt.0
    04-11-23-07-05AM-MnetDebug.txt
    04-11-23-07-05AM-PAMlog.txt.0
    04-11-23-07-05AM-PARODUSlog.txt.0
    04-11-23-07-05AM-PSMlog.txt.0
    04-11-23-07-05AM-TDMlog.txt.0
    04-11-23-07-05AM-TR69log.txt.0
    04-11-23-07-05AM-WEBPAlog.txt.0
    04-11-23-07-05AM-WiFilog.txt.0
    04-11-23-07-05AM-dcmscript.log
    04-11-23-07-05AM-swupdate.log
    04-11-23-07-05AM-version.txt
    Uploading logs 04-11-23-07-05AM.tgz  onto https://xconf.rdkcentral.com/xconf/logupload.php
    Moving to Previous Logs Backup Folder
    Moving to Previous Logs Backup Folder
    Telemetry Profile File Being Used : /tmp/DCMSettings.conf
    230411-07:10:11.594295 dca upload url from dcmresponse is https://xconf.rdkcentral.com/xconf/telemetry_upload.php
    Build Type: dev Log file: 04-11-23-07-10AM.tgz TFTP Server: https://xconf.rdkcentral.com/xconf/logupload.php Protocol: 0 UploadHttpLink: 0
    230411-07:10:11.968455 dca : Only Direct connection is available
    230411-07:10:11.997319 dca: Sleeping for 9 before upload.
    Uploading Logs with DCM UploadOnReboot set to true
    230411-07:10:22.212030 dca: Direct connection success - ret:0
    230411-07:10:22.222547 dca: Json message successfully submitted.
    04-11-23-07-10AM-ArmConsolelog.txt.0
    04-11-23-07-10AM-BootTime.log
    04-11-23-07-10AM-CRlog.txt.0
    04-11-23-07-10AM-Consolelog.txt.0
    04-11-23-07-10AM-FirewallDebug.txt
    04-11-23-07-10AM-LM.txt.0
    04-11-23-07-10AM-MnetDebug.txt
    04-11-23-07-10AM-PAMlog.txt.0
    04-11-23-07-10AM-PARODUSlog.txt.0
    04-11-23-07-10AM-PSMlog.txt.0
    04-11-23-07-10AM-TDMlog.txt.0
    04-11-23-07-10AM-TR69log.txt.0
    04-11-23-07-10AM-WEBPAlog.txt.0
    04-11-23-07-10AM-WiFilog.txt.0
    04-11-23-07-10AM-dcmscript.log
    04-11-23-07-10AM-swupdate.log
    04-11-23-07-10AM-version.txt
    Uploading logs 04-11-23-07-10AM.tgz  onto https://xconf.rdkcentral.com/xconf/logupload.php
    Moving to Previous Logs Backup Folder
    Telemetry Profile File Being Used : /tmp/DCMSettings.conf
    230411-07:15:11.910473 dca upload url from dcmresponse is https://xconf.rdkcentral.com/xconf/telemetry_upload.php
    Build Type: dev Log file: 04-11-23-07-15AM.tgz TFTP Server: https://xconf.rdkcentral.com/xconf/logupload.php Protocol: 0 UploadHttpLink: 0
    230411-07:15:12.207803 dca : Only Direct connection is available
    230411-07:15:12.235454 dca: Sleeping for 9 before upload.
    Uploading Logs with DCM UploadOnReboot set to true
    230411-07:15:22.507326 dca: Direct connection success - ret:0
    230411-07:15:22.516624 dca: Json message successfully submitted.
    04-11-23-07-15AM-ArmConsolelog.txt.0
    04-11-23-07-15AM-BootTime.log
    04-11-23-07-15AM-CRlog.txt.0
    04-11-23-07-15AM-Consolelog.txt.0
    04-11-23-07-15AM-FirewallDebug.txt
    04-11-23-07-15AM-LM.txt.0
    04-11-23-07-15AM-MnetDebug.txt
    04-11-23-07-15AM-PAMlog.txt.0
    04-11-23-07-15AM-PARODUSlog.txt.0
    04-11-23-07-15AM-PSMlog.txt.0
    04-11-23-07-15AM-TDMlog.txt.0
    04-11-23-07-15AM-TR69log.txt.0
    04-11-23-07-15AM-WEBPAlog.txt.0
    04-11-23-07-15AM-WiFilog.txt.0
    04-11-23-07-15AM-dcmscript.log
    04-11-23-07-15AM-swupdate.log
    04-11-23-07-15AM-version.txt
    04-11-23-07-15AM-wifihealth.txt
    Uploading logs 04-11-23-07-15AM.tgz  onto https://xconf.rdkcentral.com/xconf/logupload.php
    Moving to Previous Logs Backup Folder
    Telemetry Profile File Being Used : /tmp/DCMSettings.conf
    230411-07:20:11.916415 dca upload url from dcmresponse is https://xconf.rdkcentral.com/xconf/telemetry_upload.php
    Build Type: dev Log file: 04-11-23-07-20AM.tgz TFTP Server: https://xconf.rdkcentral.com/xconf/logupload.php Protocol: 0 UploadHttpLink: 0
    230411-07:20:12.155150 dca : Only Direct connection is available
    230411-07:20:12.173850 dca: Sleeping for 9 before upload.
    Uploading Logs with DCM UploadOnReboot set to true
    230411-07:20:22.367094 dca: Direct connection success - ret:0
    230411-07:20:22.375902 dca: Json message successfully submitted.
    04-11-23-07-20AM-ArmConsolelog.txt.0
    04-11-23-07-20AM-BootTime.log
    04-11-23-07-20AM-CRlog.txt.0
    04-11-23-07-20AM-Consolelog.txt.0
    04-11-23-07-20AM-FirewallDebug.txt
    04-11-23-07-20AM-LM.txt.0
    04-11-23-07-20AM-MnetDebug.txt
    04-11-23-07-20AM-PAMlog.txt.0
    04-11-23-07-20AM-PARODUSlog.txt.0
    04-11-23-07-20AM-PSMlog.txt.0
    04-11-23-07-20AM-TDMlog.txt.0
    04-11-23-07-20AM-TR69log.txt.0
    04-11-23-07-20AM-WEBPAlog.txt.0
    04-11-23-07-20AM-WiFilog.txt.0
    04-11-23-07-20AM-dcmscript.log
    04-11-23-07-20AM-swupdate.log
    04-11-23-07-20AM-version.txt
    04-11-23-07-20AM-wifihealth.txt
    Uploading logs 04-11-23-07-20AM.tgz  onto https://xconf.rdkcentral.com/xconf/logupload.php
    Moving to Previous Logs Backup Folder
    Telemetry Profile File Being Used : /tmp/DCMSettings.conf
    230411-07:25:16.689426 dca upload url from dcmresponse is https://xconf.rdkcentral.com/xconf/telemetry_upload.php
    Build Type: dev Log file: 04-11-23-07-25AM.tgz TFTP Server: https://xconf.rdkcentral.com/xconf/logupload.php Protocol: 0 UploadHttpLink: 0
    230411-07:25:16.919765 dca : Only Direct connection is available
    230411-07:25:16.938127 dca: Sleeping for 9 before upload.
    Uploading Logs with DCM UploadOnReboot set to true
    230411-07:25:27.298600 dca: Direct connection success - ret:0
    230411-07:25:27.307538 dca: Json message successfully submitted.
    04-11-23-07-25AM-ArmConsolelog.txt.0
    04-11-23-07-25AM-BootTime.log
    04-11-23-07-25AM-CRlog.txt.0
    04-11-23-07-25AM-Consolelog.txt.0
    04-11-23-07-25AM-FirewallDebug.txt
    04-11-23-07-25AM-LM.txt.0
    04-11-23-07-25AM-MnetDebug.txt
    04-11-23-07-25AM-PAMlog.txt.0
    04-11-23-07-25AM-PARODUSlog.txt.0
    04-11-23-07-25AM-PSMlog.txt.0
    04-11-23-07-25AM-TDMlog.txt.0
    04-11-23-07-25AM-TR69log.txt.0
    04-11-23-07-25AM-WEBPAlog.txt.0
    04-11-23-07-25AM-WiFilog.txt.0
    04-11-23-07-25AM-dcmscript.log
    04-11-23-07-25AM-swupdate.log
    04-11-23-07-25AM-version.txt
    04-11-23-07-25AM-wifihealth.txt
    Uploading logs 04-11-23-07-25AM.tgz  onto https://xconf.rdkcentral.com/xconf/logupload.php
    Moving to Previous Logs Backup Folder
    Telemetry Profile File Being Used : /tmp/DCMSettings.conf
    230411-07:30:11.690231 dca upload url from dcmresponse is https://xconf.rdkcentral.com/xconf/telemetry_upload.php
    Build Type: dev Log file: 04-11-23-07-30AM.tgz TFTP Server: https://xconf.rdkcentral.com/xconf/logupload.php Protocol: 0 UploadHttpLink: 0
    230411-07:30:11.924824 dca : Only Direct connection is available
    230411-07:30:11.943922 dca: Sleeping for 9 before upload.
    Uploading Logs with DCM UploadOnReboot set to true
    230411-07:30:22.136394 dca: Direct connection success - ret:0
    230411-07:30:22.145563 dca: Json message successfully submitted.
    04-11-23-07-30AM-ArmConsolelog.txt.0
    04-11-23-07-30AM-BootTime.log
    04-11-23-07-30AM-CRlog.txt.0
    04-11-23-07-30AM-Consolelog.txt.0
    04-11-23-07-30AM-FirewallDebug.txt
    04-11-23-07-30AM-LM.txt.0
    04-11-23-07-30AM-MnetDebug.txt
    04-11-23-07-30AM-PAMlog.txt.0
    04-11-23-07-30AM-PARODUSlog.txt.0
    04-11-23-07-30AM-PSMlog.txt.0
    04-11-23-07-30AM-TDMlog.txt.0
    04-11-23-07-30AM-TR69log.txt.0
    04-11-23-07-30AM-WEBPAlog.txt.0
    04-11-23-07-30AM-WiFilog.txt.0
    04-11-23-07-30AM-dcmscript.log
    04-11-23-07-30AM-swupdate.log
    04-11-23-07-30AM-version.txt
    04-11-23-07-30AM-wifihealth.txt
    Uploading logs 04-11-23-07-30AM.tgz  onto https://xconf.rdkcentral.com/xconf/logupload.php
    Moving to Previous Logs Backup Folder
    Telemetry Profile File Being Used : /tmp/DCMSettings.conf
    230411-07:35:13.203201 dca upload url from dcmresponse is https://xconf.rdkcentral.com/xconf/telemetry_upload.php
    Build Type: dev Log file: 04-11-23-07-35AM.tgz TFTP Server: https://xconf.rdkcentral.com/xconf/logupload.php Protocol: 0 UploadHttpLink: 0
    230411-07:35:13.427803 dca : Only Direct connection is available
    230411-07:35:13.446079 dca: Sleeping for 9 before upload.
    Uploading Logs with DCM UploadOnReboot set to true
    230411-07:35:24.082882 dca: Direct connection success - ret:0
    230411-07:35:24.092352 dca: Json message successfully submitted.
    04-11-23-07-35AM-ArmConsolelog.txt.0
    04-11-23-07-35AM-BootTime.log
    04-11-23-07-35AM-CRlog.txt.0
    04-11-23-07-35AM-Consolelog.txt.0
    04-11-23-07-35AM-FirewallDebug.txt
    04-11-23-07-35AM-LM.txt.0
    04-11-23-07-35AM-MnetDebug.txt
    04-11-23-07-35AM-PAMlog.txt.0
    04-11-23-07-35AM-PARODUSlog.txt.0
    04-11-23-07-35AM-PSMlog.txt.0
    04-11-23-07-35AM-TDMlog.txt.0
    04-11-23-07-35AM-TR69log.txt.0
    04-11-23-07-35AM-WEBPAlog.txt.0
    04-11-23-07-35AM-WiFilog.txt.0
    04-11-23-07-35AM-dcmscript.log
    04-11-23-07-35AM-swupdate.log
    04-11-23-07-35AM-version.txt
    04-11-23-07-35AM-wifihealth.txt
    Uploading logs 04-11-23-07-35AM.tgz  onto https://xconf.rdkcentral.com/xconf/logupload.php
    Moving to Previous Logs Backup Folder

         Attaching sample file :  B8_27_EB_22_16_36-Logs-11-10-21-07-00AM.tgz

...