Fleet management devices online log capturing is initiated using command log2srv and by setting right configuration. The device establishes a GPRS connection and activates the link to the computer, log starts to stream to the computer until the set time is elapsed. To stop streaming log immediately log2srvstop is used.
If SMS login and password are not set leave two spaces before the command: aalog2srv 1,7,APN,APNusername,APNpassword,IP,port,300,0”
If command was sent correctly you should receive SMS Response:LOG2SRV OK=1, 7, IP, port, 300, 0
Up to 5 minutes delay could appear if wrong log2srv commands settings will be sent, during that time no SMS or GPRS command could be received. SMS will be hanging, after timeout, hanging SMS’s will be proceeded.
After successful SMS response device will start streaming log to Hercules program. (1) Logfile bytes will start increasing and (2) connected device will appear. Device log will be captured for 5 minutes.
If you want to stop log capturing immediately send following SMS command to FM device:
If you have set SMS login and password: login pass log2srvstop
If SMS login and password are not set leave two spaces before the command: aalog2srvstop
Provide captured log to your Teltonika sales manager or Teltonika Support team for further investigation.