zamojski / TowerCollector

The OpenCellID and MLS contributor's app.
Mozilla Public License 2.0
217 stars 27 forks source link

Blank lines and tabs (^I) in log files #192

Closed jidanni closed 10 months ago

jidanni commented 1 year ago

Interesting. In the log files there is one case (insertMeasurement) of tabs (^I) being inserted, and then a blank line. Else there are no tabs or blank lines in the whole file.

$ grep -PA 2 \\t  2022-12-06-16-16-30.log | cat -vt
12-06-16:16:30.994 D/e(11708:12765): insertMeasurement(): Insertion report: ^Imeasurement inserted=true^Imeasurement found=true^Icell inserted=false^Icell found=true^Icell signal inserted=true;^M
^M
12-06-16:16:30.996 D/d(11708:12765): parse(): Measurement saved^M
--
12-06-16:16:32.805 D/e(11708:13180): insertMeasurement(): Insertion report: ^Imeasurement inserted=true^Imeasurement found=true^Icell inserted=false^Icell found=true^Icell signal inserted=true;^M
^M
12-06-16:16:32.806 D/d(11708:13180): parse(): Measurement saved^M
--
12-06-16:16:34.833 D/e(11708:13180): insertMeasurement(): Insertion report: ^Imeasurement inserted=true^Imeasurement found=true^Icell inserted=false^Icell found=true^Icell signal inserted=true;^M
^M
12-06-16:16:34.836 D/d(11708:13180): parse(): Measurement saved^M

I'm just saying there are inconsistencies when making log files.