show raw data

jamel4 years ago

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

Anton Tananaev4 years ago

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

jamel4 years ago

Hi Anton,
and how is that ?

Joystick4 years ago

Hi jamel,

Add below to traccar.xml file

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

Hi,
can i see it through logs files?

Anton Tananaev4 years ago

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

ritesha year ago
<entry key='database.saveOriginal'>true</entry>

can it save raw data in database?

Anton Tananaeva year ago

Have you tried?

Irfan Nasim7 months ago

In which table this raw data get saved ? @anton

Irfan Nasim7 months ago

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

Anton Tananaev7 months ago

It's saved in the positions table.

Irfan Nasim7 months 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 Tananaev7 months ago

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