show raw data

jamel 5 years ago

Hi ,
I'm using traccar with postgresql database can i see the raw data that device has sent it ?

Anton Tananaev 5 years ago

Yes, there's a configuration parameter to save raw data.

jamel 5 years ago

Hi Anton,
and how is that ?

Tracker 5 years ago

Hi jamel,

Add below to traccar.xml file

<entry key='database.saveOriginal'>true</entry>
jamel 5 years ago

Hi,
can i see it through logs files?

Anton Tananaev 5 years ago

Through log file you can always see raw data. No configuration needed.

ritesh 2 years ago
<entry key='database.saveOriginal'>true</entry>

can it save raw data in database?

Anton Tananaev 2 years ago

Have you tried?

Irfan Nasim 2 years ago

In which table this raw data get saved ? @anton

Irfan Nasim 2 years ago

One More question how we can get raw data in MainEventHandler to save raw data into my custom database?

Anton Tananaev 2 years ago

It's saved in the positions table.

Irfan Nasim 2 years ago

Thanks, Anton, Could you please guide me on how can I get the raw data into MainEventHandler where the packet is landing? I want to save that raw data in my other database which is the child of Traccar in my case.

Anton Tananaev 2 years ago

There's already a configuration option to stop raw data.