• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Redirect the output of a *NIX log file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Redirect the output of a *NIX log file


  • Subject: Redirect the output of a *NIX log file
  • From: Martin Kautz <email@hidden>
  • Date: Wed, 08 May 2002 22:16:39 +0200

Hello programmers,

this might be a little of topic, indeed... :-)
I'm currently developing a web application using PHP. Since my app is using
a lot of cookie and header manipulation stuff, I can't output my debug
messages inside HTML. People involved in HTTP are knowing what I mean.
Therefore I write my debug messages to /var/log/httpd/error_log to avoid
that "Output already done. Header can't be sent..." stuff.
That's why I'm using a window of Terminal.app with 'tail -fn10
/var/log/messages/error.log' to view my debug messages.
Well, I just wanted to know how to write a cocoa app which is polling the
error.log and showing the last few lines in a window...
I'm basicly looking for a more fashionable way to get my debug messages - no
big deal, huh?

So I want to get inspired how to access these log messages. I need a
starting point or... Maybe someone already knows such an application...

Thanks in advance,
Martin
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Redirect the output of a *NIX log file
      • From: email@hidden
    • Re: Redirect the output of a *NIX log file
      • From: "Erik M. Buck" <email@hidden>
  • Prev by Date: Re: Best way to push action from 1 thread to another?
  • Next by Date: Re: man? unix?
  • Previous by thread: Re: Best way to push action from 1 thread to another?
  • Next by thread: Re: Redirect the output of a *NIX log file
  • Index(es):
    • Date
    • Thread