Join Today
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2008
    Location
    Vietnam
    Posts
    125

    Default Where are log files?

    Can you help me to find the files record the logs of working system like SysInfo's System Log?
    I tried to search by
    find / -name *log*
    but nothing.

  2. #2

    Default

    Quote Originally Posted by MarkDark View Post
    Can you help me to find the files record the logs of working system like SysInfo's System Log?
    I tried to search by
    find / -name *log*
    but nothing.
    is it integrated in firmware ?

    and what kind of log you are searching ?

    if you are searching for file that contain system log shown by sysinfo

    try this command
    cat /proc/kmsg
    Last edited by kundancool; 09-23-2011 at 05:04 AM.
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  3. #3
    Join Date
    Jun 2008
    Location
    Vietnam
    Posts
    125

    Default

    Thank Kundancool.
    Im trying to search whats record into log file while phone connects to pc.
    kmsg is file i need.
    but i try
    cat /proc/kmsg > /mmc/mmca1/test
    result : new test file is an empty file
    or
    cat /proc/kmsg | grep plug
    result : ekonsole shows some lines but it cannot finish. cat command continues to show more lines on ekonsole's screen and not finish yet.
    cannot cp kmsg to new location.

  4. #4

    Default

    well it continues to update every time
    may be that is the reason why it will not get copied to location

    can you tell me what are you intending to do with the message?
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  5. #5
    Join Date
    Jun 2008
    Location
    Vietnam
    Posts
    125

    Default

    I need log's info when received sms, too.

    I'm trying to written an application to notice sms unread after several minutes.
    But i try

    check=`cat /proc/ksmg | grep XXX` #XXX is somethings i need to find in log file, OR check=`cat /proc/kmsg |grep XXX | tail`
    while [ -n "$check" ] ;do
    smg=`showQ -t20 -m "Found !!" -1 "Break" -2 "Continues"`
    if [ "$smg" = "0" ]; then break; else :;fi
    done

    but WHILE doesn't not work because $check doesn't work, too.

  6. #6

    Default

    Quote Originally Posted by MarkDark View Post
    I need log's info when received sms, too.

    I'm trying to written an application to notice sms unread after several minutes.
    But i try

    check=`cat /proc/ksmg | grep XXX` #XXX is somethings i need to find in log file, OR check=`cat /proc/kmsg |grep XXX | tail`
    while [ -n "$check" ] ;do
    smg=`showQ -t20 -m "Found !!" -1 "Break" -2 "Continues"`
    if [ "$smg" = "0" ]; then break; else :;fi
    done

    but WHILE doesn't not work because $check doesn't work, too.
    well I would suggest to use Qt to check for current status
    like message unread and all that you want

    I think using bash could be a bad idea in this
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  7. #7
    Join Date
    Jun 2008
    Location
    Vietnam
    Posts
    125

    Default

    I understand, but Im not learned C++ to do that


 
+ Reply to Thread

Similar Threads

  1. PKG files
    By Darknova in forum E6 General Chat
    Replies: 5
    Last Post: 05-31-2008, 12:25 PM
  2. excel files , pdf files help!
    By cappanie in forum A780 General Chat
    Replies: 4
    Last Post: 01-27-2008, 08:02 AM
  3. Replies: 0
    Last Post: 05-28-2006, 11:37 AM
  4. Help me run C files
    By destiny712 in forum E680i General Chat
    Replies: 2
    Last Post: 08-02-2005, 05:22 AM
  5. e680 is not reading all realmedia files or mpeg files!!!!
    By bulldogs32 in forum E680 General Chat
    Replies: 3
    Last Post: 04-22-2005, 10:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1