android log command

143 views
Skip to first unread message

Michael

unread,
Feb 15, 2014, 2:09:54 PM2/15/14
to logcatud...@googlegroups.com
Hi,

first of all, nice job! I do like yuor app.

I have installed your app, logcatudp, but when I run by  command line "log -p w messagex", it doesn't get sent to the syslog server...

Is logcatudp sending only certain type of event?

I working on a script to send the content of few sqlite db through syslog on android....

Could help me in find a way to do it using your logcatudp?

Regads
Michael

Jan Madzik

unread,
Feb 26, 2014, 2:47:55 AM2/26/14
to logcatud...@googlegroups.com
Hi,

application is sending every message readed from logcat. You can set message filter in app settings if you don't want to send all messages.
Problem may be from android version 4.1 because of security "enhancement" in Jelly Bean:
Solution is to root your device and grant READ_LOGS or convert application to system app:
If you need to send logcat messages produced by application which is reading log, it is not a problem. Application is permitted to read its own messages from log.

Regards,
Jan


--
You received this message because you are subscribed to the Google Groups "logcatudp-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to logcatudp-disc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Michael Dogali

unread,
Feb 26, 2014, 4:30:32 AM2/26/14
to logcatud...@googlegroups.com
Hi Jan,

many thanks for your answer.
I forgot to tell you , that my device is already rooted, but still cannot see all system logs (kernel log, Application log, system log, event log) are you grabbing them all with logcat?

Regards
Michael

--
You received this message because you are subscribed to a topic in the Google Groups "logcatudp-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/logcatudp-discuss/li_83iHW5wI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to logcatudp-disc...@googlegroups.com.

Jan Madzik

unread,
Feb 26, 2014, 5:04:58 AM2/26/14
to logcatud...@googlegroups.com
Hi,
Application code is opensourced here:
So you can see there which messages from logcat are sent (class LogcatThread).
Application is grabbing default log buffer which is "main" log buffer.
Regards,
Jan

Fun epic Fails

unread,
May 28, 2018, 11:17:53 AM5/28/18
to logcatudp-discuss
Good day! Can you add the possibility that the program collects logs that require ROOT rights? Would be very grateful. Thank you.
Good day! Can you add the possibility that the program collects logs that require ROOT rights? Would be very grateful. Thank you.
 

Jan Madzik

unread,
May 28, 2018, 12:20:40 PM5/28/18
to logcatudp-discuss
Hello,
Sorry, I don't have time to support this application anymore.
Anyway, source code of this application is opensourced here: https://github.com/Chemik/logcatudp
Feel free to clone and modify it by your own.
If you want you can send pull request after adding new feature.
Thanks

Fun epic Fails

unread,
May 30, 2018, 2:26:18 AM5/30/18
to logcatudp-discuss
OK, thanks for answer :)


понедельник, 28 мая 2018 г., 19:20:40 UTC+3 пользователь Jan Madzik написал:
Reply all
Reply to author
Forward
0 new messages