Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

Log file into HTML | Telit Cinterion IoT Developer Community

January 27, 2017 - 1:04pm, 1718 views

Hello guys.
I'm currently trying to access remotely the information produced in the log file (stdout chosen) in my BGS5T.

The thing is that I'm not being able to open the file and extract its information. Is there any way to do this?

 File myFile = new File("A:/log.txt.0","file:///a:/");
				    			byte[] buffer = new byte[1024];
				    			int len =;
				    			String dados1 = new String(buffer,0,len,"UTF-8");
				    			streamHTTP=""+ dados1 + "";