Monitoring custom log files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • msmb04
    New Member
    • Feb 2007
    • 7

    Monitoring custom log files

    hi all,

    the problem is,
    how to monitor the logs. not from a log file.
    give any solutions .


    msmb04
  • Purple
    Recognized Expert Contributor
    • May 2007
    • 404

    #2
    Hi msmb04,

    Can you be a little more descriptive about what it is you are trying to do - logs from what / where.. ?

    Purple

    Comment

    • pbmods
      Recognized Expert Expert
      • Apr 2007
      • 5821

      #3
      Changed thread title to better describe the problem.

      Comment

      • msmb04
        New Member
        • Feb 2007
        • 7

        #4
        Originally posted by Purple
        Hi msmb04,

        Can you be a little more descriptive about what it is you are trying to do - logs from what / where.. ?

        Purple

        hi Purple,

        you have idea on linux syslogd and how it is functioning, like my application monitor all logs from different applications(no t from log file) running in same or diff machines.


        thank you for reply,
        try to send the solution.


        msmb04

        Comment

        • msmb04
          New Member
          • Feb 2007
          • 7

          #5
          Originally posted by pbmods
          Changed thread title to better describe the problem.

          hi pbmods,

          you have idea on linux syslogd and how it is functioning, like my application monitor all logs from different applications(no t from log file) running in same or diff machines.


          thank you for reply,
          try to send the solution.

          msmb04

          Comment

          • Purple
            Recognized Expert Contributor
            • May 2007
            • 404

            #6
            Hi,

            take a look at fopen() at php.net - you will find info there on how to read a file..

            you could also take a look at glob() which provides os level info on files ie size, change date etc..

            If you have started this project and are having problems with an area of coding, post the code and ask the forum questions relating to the problem. There are many members willing to help...

            If you are asking if PHP is the way to do this, personally I would say no, given the limitations imposed running under a webserver environment and your requirement to monitor other machines, I would suggest looking elsewhere.

            Purple
            Last edited by Purple; Jun 11 '07, 03:22 PM. Reason: changing response

            Comment

            Working...