Re: Read from Apache error.log

[prev] [thread] [next] [Date index for 2005/03/27]

From: Rodger Castle
Subject: Re: Read from Apache error.log
Date: 12:39 on 27 Mar 2005
> I had Initially tried using 'eval' however it seemed to me that no 
> exceptions were thrown by the function call within the eval {system...} but 
> within the called program itself, I may be wrong. In either case that method 
> brought me no success unfortunately.

Admittedly, I should have read your original post more closely.  The program your calling with system fails, not the system call itself, so eval would not catch this.  Have you considered using the backtick operator and inspect the output for errors? This might not be feasible if the called program has a large amount of output that might mimic what error text you're looking for.

Rodger

Read from Apache error.log
Femi Oshagbemi 11:47 on 27 Mar 2005

Re: Read from Apache error.log
Rodger Castle 11:59 on 27 Mar 2005

Re: Read from Apache error.log
Femi Oshagbemi 12:30 on 27 Mar 2005

Re: Read from Apache error.log
Rodger Castle 12:39 on 27 Mar 2005

Re: Read from Apache error.log
Clinton Gormley 14:08 on 27 Mar 2005

Re: Read from Apache error.log
Stas Bekman 15:08 on 27 Mar 2005

Generated at 09:30 on 27 Apr 2005 by mariachi v0.52