Features
Support
Purchase
Documentation
Download
Login
Register
Login
Register
Home
»
LogViewPlus Support
»
Help & Support
»
How to parsing logcat file
How to parsing logcat file
Post Reply
Like
4
How to parsing logcat file
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Alex
Alex
posted 5 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 2,
Visits: 8
Hi,
I'm trying to parse a logcat file, which is like below:
01-01 00:03:31.788 591 591 W SELinux : Multiple same specifications for qti.ims.ext.
06-16 12:49:15.390 734 1334 I abc : type=1400 audit(0.0:18414): avc: denied { read } for abc
06-16 12:49:15.390 734 734 I e : something here
06-16 12:49:15.403 1502 1668 I Engine: vs_get_temperature: read[0] skin-therm 33922 mC, weight[0] 553
I create one parse rule like below:
%d{MM-dd %H:mm:ss.fff} %t %t %p %c:%m%n
but the output is not correct, as below, output exist 3 problem:
1. line 2,3,4 mixed
2. subpid is missing.
3. the space between pid and subpid is not fixed value. It may be 2 or 3, depends on the length of subpid. I can't find one way to handle such case.
Could you please kindly help me here?
Thanks!
Reply
Like
4
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
How to parsing logcat file
Alex
-
5 Years Ago
Hi Alex, What version of LogViewPlus are you using? Using v2.4.41, if...
LogViewPlus Support
-
5 Years Ago
Hi Toby, Thanks for your checking and answer, finally I wrote one...
Alex
-
5 Years Ago
Thanks for the update Alex. Glad to hear you got it working. Were you...
LogViewPlus Support
-
5 Years Ago
im using this %d %t %s{Column1} %p %m%n i had to add a global log...
morty
-
3 Years Ago
Hi Morty, It looks like the Thread and String1 columns are left...
LogViewPlus Support
-
3 Years Ago
for me is working great with your recommendation, thank you for that,...
morty
-
3 Years Ago
Thanks for the update Morty. I appreciate the help you left for...
LogViewPlus Support
-
3 Years Ago
Hi Morty, Apologies for the delay in getting back to you. I...
LogViewPlus Support
-
3 Years Ago
Post Reply
Like
4
Similar Topics
Post Quoted Reply
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search