Deepstream-test5-app run output in /var/log/syslog error log

run ./deepstream-test5-app -c configs/test5_config_file_src_infer.txt -p 1
output in /var/log/syslog

Jan 21 02:34:21 mingkai-desktop deepstream-test5-app: KAKFA_JSON_PARSE: finding kafka key of sensor.id within json message
Jan 21 02:34:21 mingkai-desktop deepstream-test5-app: KAKFA_JSON_PARSE: provided path is not valid
Jan 21 02:34:21 mingkai-desktop deepstream-test5-app: DSLOG:NVDS_KAFKA_PROTO: no matching json field found based on kafka key config; using default partition
Jan 21 02:34:21 mingkai-desktop deepstream-test5-app: DSLOG:NVDS_KAFKA_PROTO: nvds_msgapi_send_async: payload={#012 “version” : “4.0”,#012 “id” : 1,#012 “@timestamp” : “2021-01-21T07:34:21.421Z”,#012 “sensorId” : “HWY_20_AND_LOCUST__EBA__4_11_2018_4_59_59_508_AM_UTC-07_00”,#012 “objects” : [#012 “1|537.6|472.5|582.4|513.75|Car”,#012 “2|611.2|487.5|710.4|562.5|Car”,#012 “3|0|431.25|192|1008.75|Person”,#012 “4|291.2|442.5|457.6|817.5|Person”#012 ]#012} #012 topic = test

Hi panmingkai,

What’s the platform you’re using? What’s system SW?
Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Hi,
Message sending successfully, what’s your problem here?

jetson nano
./deepstream-test5-app -c configs/test5_config_file_src_infer.txt -p 1
output in /var/log/syslog

You want the log put here, /var/log/syslog, right?
then you need to modify nvdslogpath in script setup_nvds_logger.sh

deepstream-app version 5.0.0
DeepStreamSDK 5.0.0
CUDA Driver Version: 10.2
CUDA Runtime Version: 10.2
TensorRT Version: 7.1
cuDNN Version: 8.0
libNVWarp360 Version: 2.0.1d3

use ./deepstream-test5-app -c configs/test5_config_file_src_infer.txt -p 1
create a lot of warning message in /var/log/syslog

warning content

Jan 21 02:34:21 mingkai-desktop deepstream-test5-app: KAKFA_JSON_PARSE: finding kafka key of sensor.id within json message
Jan 21 02:34:21 mingkai-desktop deepstream-test5-app: KAKFA_JSON_PARSE: provided path is not valid
Jan 21 02:34:21 mingkai-desktop deepstream-test5-app: DSLOG:NVDS_KAFKA_PROTO: no matching json field found based on kafka key config; using default partition
Jan 21 02:34:21 mingkai-desktop deepstream-test5-app: DSLOG:NVDS_KAFKA_PROTO: nvds_msgapi_send_async: payload={#012 “version” : “4.0”,#012 “id” : 1,#012 “@timestamp” : “2021-01-21T07:34:21.421Z”,#012 “sensorId” : “HWY_20_AND_LOCUST__EBA__4_11_2018_4_59_59_508_AM_UTC-07_00”,#012 “objects” : [#012 “1|537.6|472.5|582.4|513.75|Car”,#012 “2|611.2|487.5|710.4|562.5|Car”,#012 “3|0|431.25|192|1008.75|Person”,#012 “4|291.2|442.5|457.6|817.5|Person”#012 ]#012} #012 topic = test

I don’t want to print anything

There log level you can set, to meet your needs, change the level in the script and rerun it, sources/tools/nvds_logger/setup_nvds_logger.sh

# Modify log severity level as required and rerun this script
#              0       Emergency: system is unusable
#              1       Alert: action must be taken immediately
#              2       Critical: critical conditions
#              3       Error: error conditions
#              4       Warning: warning conditions
#              5       Notice: normal but significant condition
#              6       Informational: informational messages
#              7       Debug: debug-level messages
# refer https://tools.ietf.org/html/rfc5424.html for more information
1 Like

thanks