Display Logs on the console

Del 3 years ago

Hello

Can anyone know who to display Data received from devices in the console? I am just having Connected and disconnected messages with no details.

May 11, 2023 @ 00:46:15.978
- @timestamp, column 3, row 406
traccar-service
- kubernetes.container_name, column 4, row 406
2023-05-10 22:46:15  INFO: [a2eae5db] disconnected
- log, column 5, row 406

- openDetails, column 1, row 405

- select, column 2, row 405
May 11, 2023 @ 00:46:15.978
- @timestamp, column 3, row 405
traccar-service
- kubernetes.container_name, column 4, row 405
2023-05-10 22:46:15  INFO: [a2eae5db] connected
- log, column 5, row 405

- openDetails, column 1, row 404

- select, column 2, row 404
May 11, 2023 @ 00:46:16.661
- @timestamp, column 3, row 404
traccar-service
- kubernetes.container_name, column 4, row 404



2023-05-10 22:46:16  INFO: [368a43ea] disconnected
- log, column 5, row 404

- openDetails, column 1, row 403

- select, column 2, row 403
May 11, 2023 @ 00:46:16.661
- @timestamp, column 3, row 403
traccar-service
- kubernetes.container_name, column 4, row 403
2023-05-10 22:46:16  INFO: [368a43ea] connected
- log, column 5, row 403

- openDetails, column 1, row 402

- select, column 2, row 402
May 11, 2023 @ 00:46:22.154
- @timestamp, column 3, row 402
traccar-service
- kubernetes.container_name, column 4, row 402
2023-05-10 22:46:22  INFO: [4f0e2ba6] disconnected
- log, column 5, row 402

- openDetails, column 1, row 401

- select, column 2, row 401

BTW I am using a Teltonika device

Anton Tananaev 3 years ago

Seems like the image link is broken or not public.

Del 3 years ago

yes I just edited my post with the text log

Anton Tananaev 3 years ago

Why does it have some kubernetes stuff? You don't have a proper log file?

Del 3 years ago

This is better I think

2023-05-10 23:07:22  INFO: [badfc6e9] disconnected
2023-05-10 23:07:25  INFO: [8b772ec4] connected
2023-05-10 23:07:25  INFO: [8b772ec4] disconnected
2023-05-10 23:07:25  INFO: [fc42fb86] connected
2023-05-10 23:07:25  INFO: [fc42fb86] disconnected
2023-05-10 23:07:26  INFO: [2e95dfdc] connected
Anton Tananaev 3 years ago

If there's nothing else, it means that your device is not reporting any data.

Del 3 years ago

there is nothing else but I am able to see data on traccar

Screenshot

Anton Tananaev 3 years ago

there is nothing else but I am able to see data on traccar

That's not possible if you're using the official Traccar.

Del 3 years ago

I am using this container image on kube cluster traccar/traccar:4.10 pulled from Docker hub is it an official Traccar ?
If I simulate a device with my phone through the Traccar Client app, I can see data passing in the console but for the Teltonika one nothing is shown

Anton Tananaev 3 years ago

Why are you using such an old version? Older versions don't even support scaling, so it makes very little sense to run them in a cluster.

Anyway, even in older version you should see the data in logs. It's not possible to see data without raw data in logs. You must be missing something.