Repeated locations tracker J16

Anton Tananaev7 months ago

Logs after restart?

Lucas Bezerra7 months ago
2024-04-14 19:35:34  INFO: Stopping server...
2024-04-14 19:35:36  INFO: Operating system name: Linux version: 6.5.0-1019-oracle architecture: aarch64
2024-04-14 19:35:36  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Eclipse Adoptium version: 21.0.2+13-LTS
2024-04-14 19:35:36  INFO: Memory limit heap: 945mb non-heap: 0mb
2024-04-14 19:35:36  INFO: Character encoding: UTF-8
2024-04-14 19:35:36  INFO: Version: 6.1
2024-04-14 19:35:36  INFO: Starting server...
2024-04-14 19:35:36  INFO: Health check enabled with period 480000
2024-04-14 19:35:36  INFO: HikariPool-1 - Starting...
2024-04-14 19:35:37  INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@7fedfe27
2024-04-14 19:35:37  INFO: HikariPool-1 - Start completed.
2024-04-14 19:35:37  INFO: Clearing database change log checksums
2024-04-14 19:35:38  INFO: Successfully acquired change log lock
2024-04-14 19:35:38  INFO: Successfully released change log lock
2024-04-14 19:35:43  INFO: Reading from traccar.DATABASECHANGELOG
2024-04-14 19:35:45  INFO: Reading from traccar.DATABASECHANGELOG
2024-04-14 19:35:45  INFO: Reading from traccar.DATABASECHANGELOG
2024-04-14 19:35:45  INFO: UPDATE SUMMARY
2024-04-14 19:35:45  INFO: Run:                          0
2024-04-14 19:35:45  INFO: Previously run:              46
2024-04-14 19:35:45  INFO: Filtered out:                 0
2024-04-14 19:35:45  INFO: -------------------------------
2024-04-14 19:35:45  INFO: Total change sets:           46

2024-04-14 19:35:45  INFO: Update summary generated
2024-04-14 19:35:45  INFO: Successfully released change log lock
2024-04-14 19:35:45  INFO: Command execution complete
2024-04-14 19:35:48  INFO: jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 21.0.2+13-LTS
2024-04-14 19:35:48  INFO: Started o.t.w.@33cf6c62{/,null,AVAILABLE}
2024-04-14 19:35:48  INFO: Session workerName=node0
2024-04-14 19:35:49  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2024-04-14 19:35:50  INFO: Started o.e.j.s.ServletContextHandler@6c4b60e9{/,null,AVAILABLE}
2024-04-14 19:35:50  INFO: Started ServerConnector@75191c0{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2024-04-14 19:35:50  INFO: Started Server@533e2ef6{STARTING}[11.0.20,sto=0] @15626ms
2024-04-14 19:36:02  INFO: [T66356200] connected
2024-04-14 19:36:05  INFO: [T66356200: gt06 < 187.60.53.254] 78780d01086802203364403500003e7f0d0a
2024-04-14 19:36:05  INFO: Event id: 868022033644035, time: 2024-04-14 19:36:05, type: deviceOnline, notifications: 1
2024-04-14 19:36:07  INFO: [T66356200: gt06 > 187.60.53.254] 787805010000c8550d0a
2024-04-14 19:36:09  INFO: [T66356200: gt06 < 187.60.53.254] 78780a13050604000100010a630d0a
2024-04-14 19:36:09  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:35:29, lat: -4.86517, lon: -39.58157, course: 0.0
2024-04-14 19:36:09  INFO: [T66356200: gt06 > 187.60.53.254] 787805130001e9f10d0a
2024-04-14 19:36:20  INFO: [T66356200: gt06 < 187.60.53.254] 79790008940004ec0002f7dd0d0a
2024-04-14 19:36:20  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:35:29, lat: -4.86517, lon: -39.58157, course: 0.0
2024-04-14 19:36:43  INFO: user: 1, action: login, from: 45.178.191.197
2024-04-14 19:36:43  WARN: Error loading timezone aliases: inStream parameter is null
2024-04-14 19:37:10  INFO: [T66356200: gt06 < 187.60.53.254] 7878262218040e13250acd0085a0eb043f23a000180002d40297d600fb0f000000000000e50003b5550d0a
2024-04-14 19:37:10  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:37:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:37:10  INFO: [T66356200: gt06 > 187.60.53.254] 78780522000316910d0a
2024-04-14 19:38:09  INFO: [T66356200] id: 868022033644035, command type: custom sent
2024-04-14 19:38:09  INFO: [T66356200: gt06 > 187.60.53.254] 787810800a00000000504152414d230000abe90d0a
2024-04-14 19:38:10  INFO: [T66356200: gt06 < 187.60.53.254] 7878262218040e13260acb0085a0eb043f23a000180002d40297d600fb0f000000000000e5000480230d0a
2024-04-14 19:38:11  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:38:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:38:11  INFO: [T66356200: gt06 > 187.60.53.254] 787805220004622e0d0a
2024-04-14 19:38:11  INFO: [T66356200: gt06 < 187.60.53.254] 78784c154400000000494d45493a3836383032323033333634343033353b54494d45523a36302c333630303b53454e44533a333b4842543a3138305365633b446566656e73653a333b00010005a5270d0a
2024-04-14 19:38:11  INFO: Event id: 868022033644035, time: 2024-04-14 19:38:11, type: commandResult, notifications: 1
2024-04-14 19:38:12  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:38:10, lat: -4.86527, lon: -39.58153, course: 0.0, result: IMEI:868022033644035;TIMER:60,3600;SENDS:3;HBT:180Sec;Defense:3;
2024-04-14 19:38:12  INFO: [T66356200: gt06 > 187.60.53.254] 787805150005790c0d0a
2024-04-14 19:39:10  INFO: [T66356200: gt06 < 187.60.53.254] 7878262218040e13270acc0085a0eb043f23a000180002d40297d600fb0f000000000000e5000699b00d0a
2024-04-14 19:39:10  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:39:10  INFO: [T66356200: gt06 > 187.60.53.254] 787805220006413c0d0a
2024-04-14 19:39:10  INFO: [T66356200: gt06 < 187.60.53.254] 78780a1345060400010007a8530d0a
2024-04-14 19:39:10  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:39:10  INFO: [T66356200: gt06 > 187.60.53.254] 7878051300078cc70d0a
2024-04-14 19:39:20  INFO: [T66356200: gt06 < 187.60.53.254] 79790008940004f60008ae680d0a
2024-04-14 19:39:20  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:42:10  INFO: [T66356200: gt06 < 187.60.53.254] 78780a1345060400010009412d0d0a
2024-04-14 19:42:10  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:42:10  INFO: [T66356200: gt06 > 187.60.53.254] 78780513000965b90d0a
2024-04-14 19:42:20  INFO: [T66356200: gt06 < 187.60.53.254] 79790008940004f6000a8d7a0d0a
2024-04-14 19:42:20  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:45:10  INFO: [T66356200: gt06 < 187.60.53.254] 78780a134506040001000b623f0d0a
2024-04-14 19:45:10  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:45:10  INFO: [T66356200: gt06 > 187.60.53.254] 78780513000b46ab0d0a
2024-04-14 19:45:20  INFO: [T66356200: gt06 < 187.60.53.254] 79790008940004f6000ce84c0d0a
2024-04-14 19:45:20  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:48:10  INFO: [T66356200: gt06 < 187.60.53.254] 78780a134506040001000d07090d0a
2024-04-14 19:48:10  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:48:10  INFO: [T66356200: gt06 > 187.60.53.254] 78780513000d239d0d0a
2024-04-14 19:48:20  INFO: [T66356200: gt06 < 187.60.53.254] 79790008940004ec000e3db10d0a
2024-04-14 19:48:20  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:51:10  INFO: [T66356200: gt06 < 187.60.53.254] 78780a134506040001000f241b0d0a
2024-04-14 19:51:11  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:51:11  INFO: [T66356200: gt06 > 187.60.53.254] 78780513000f008f0d0a
2024-04-14 19:51:20  INFO: [T66356200: gt06 < 187.60.53.254] 79790008940004f6001032a10d0a
2024-04-14 19:51:21  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:54:11  INFO: [T66356200: gt06 < 187.60.53.254] 78780a1345060400010011dde40d0a
2024-04-14 19:54:11  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
2024-04-14 19:54:11  INFO: [T66356200: gt06 > 187.60.53.254] 787805130011f9700d0a
2024-04-14 19:54:21  INFO: [T66356200: gt06 < 187.60.53.254] 7979000894000500001257e50d0a
2024-04-14 19:54:21  INFO: [T66356200] id: 868022033644035, time: 2024-04-14 19:39:10, lat: -4.86527, lon: -39.58153, course: 0.0
Anton Tananaev7 months ago

Actually we also compare attributes and that's why duplicate filtering is not working. Your messages include different set of attributes.

You can try filter.outdated instead.

Lucas Bezerra7 months ago
2024-04-14 20:15:25  INFO: [Tf073e8aa] connected
2024-04-14 20:15:27  INFO: [Tf073e8aa: gt06 < 187.60.53.254] 78780d01086802203364403500201f7d0d0a
2024-04-14 20:15:27  INFO: Event id: 868022033644035, time: 2024-04-14 20:15:27, type: deviceOnline, notifications: 1
2024-04-14 20:15:29  INFO: [Tf073e8aa: gt06 > 187.60.53.254] 787805010020e9570d0a
2024-04-14 20:15:31  INFO: [Tf073e8aa: gt06 < 187.60.53.254] 78780a1345060400010021ec670d0a
2024-04-14 20:15:31  INFO: Position filtered by Outdated filters from device: 868022033644035
2024-04-14 20:15:31  INFO: [Tf073e8aa: gt06 > 187.60.53.254] 787805130021c8f30d0a
2024-04-14 20:15:41  INFO: [Tf073e8aa: gt06 < 187.60.53.254] 79790008940004ec0022d6df0d0a
2024-04-14 20:15:41  INFO: Position filtered by Outdated Duplicate filters from device: 868022033644035

It's working! Just make sure that when you send a new location with a different time it won't be filtered!
Or will it filter until the vehicle leaves that position?

Anton Tananaev7 months ago

It will only filter message without GPS data.

Lucas Bezerra7 months ago

Ok, thanks!