Thanks,
For some reason the "tail -f application.log | mail
[EMAIL PROTECTED] &" command doesn't behave the way I thought it
would... it doesn't actualy follow the file and mail each new line added. It
only mails me once I end the process. Do you know how to make it follow and
mail line by line? That would even be handy for apache logs etc.
Camden
----- Original Message -----
From: Matt Liotta <[EMAIL PROTECTED]>
To: CF-Linux <[EMAIL PROTECTED]>
Sent: Monday, October 16, 2000 10:03 PM
Subject: RE: error notification
> I agree using a <cftry>/<cfcatch> would be the way to go. However, you
> could always just use the following command line.
> tail -f application.log | mail [EMAIL PROTECTED]&
>
> -Matt
>
> -----Original Message-----
> From: Pete Freitag [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 16, 2000 7:59 PM
> To: CF-Linux
> Subject: RE: error notification
>
>
> Actually the Site-wide Error Handler would work the best, I forgot about
> that feature (it's new in 4.5).
>
> ______________________________________________
> Pete Freitag ([EMAIL PROTECTED])
> CFDEV.COM / NETDesign Inc.
> ColdFusion Developer Resources
> http://www.cfdev.com/
>
> -----Original Message-----
> From: Camden Spiller [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 16, 2000 10:42 PM
> To: CF-Linux
> Subject: Re: error notification
>
>
> Would the best plan to be to use the site wide error page and see if it
can
> catch the error message etc.?
>
>
>
> ----- Original Message -----
> From: Camden Spiller <[EMAIL PROTECTED]>
> To: CF-Linux <[EMAIL PROTECTED]>
> Sent: Monday, October 16, 2000 9:28 PM
> Subject: error notification
>
>
> I'd like to recieve an email any time an error occurs in one of my CF
> templates.
>
> Is there some way I can configure cf to redirect the output that gets sent
> to cf's application.log to a script that sends me an email? I'd be nice if
> the configuration was like the apache conf... wow... that would be nice.
>
> Camden
>
>
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux
or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux
or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.