Log file parsing

88 views
Skip to first unread message

Alex Gratnik

unread,
Apr 11, 2012, 11:07:05 AM4/11/12
to androidlogcatviewer
Sometimes log file can contain lines with different format.
Now application ignore line if line format differ from main file
format.
I do not like it.

I suppose if parser meets string with other format it must add it to
log table in text column.

m41m41

unread,
Apr 11, 2012, 12:15:59 PM4/11/12
to androidlo...@googlegroups.com
Are you mean:
I/KeyInputQueue(  176): Input keycode=4 event: 0
12-05 08:11:00.660 I/SystemServer( 1414): Entered the Android system server!
04-08 13:04:37.550   218   218 D RILJ    : [0010]> GET_IMEI
 
Please list the pattern.

Alex Gratnik

unread,
Apr 12, 2012, 4:05:11 AM4/12/12
to androidlogcatviewer
Yes I mean described log.

For example real log from my testers with comments for me.

04-12 10:52:17.468: I/AOSObject parse(10997): {"title":"Backup
result","text":"Backup successfully","properties":{"versions":
["2012-04-12T07:52:12Z"],"file":
!!! Bad file backup
04-12 10:52:56.968: I/AOSObject parse(10997): {"title":"Backup
result","text":"Backup successfully","properties":{"versions":
["2012-04-12T07:52:51Z"],"file":
04-12 10:53:37.723: I/AOSObject parse(10997): {"title":"Backup
result","text":"Backup successfully","properties":{"versions":
["2012-04-12T07:53:32Z"],"file":
04-12 10:54:26.163: I/AOSObject parse(10997): {"title":"Backup
result","text":"Backup successfully","properties":{"versions":
["2012-04-12T07:54:23Z"],"file":
Reply all
Reply to author
Forward
0 new messages