On 09/12/2009, at 12:01, Ossama Khayat wrote:

>> Cherokee can work with or without rrdtool. However, if the configuration 
>> file 
>> pointed Cherokee to use rrdtool, the server would fail if the rrdtool binery 
>> were not present (in the $PATH).
>> 
>> I do no think rrdtool should be a "required" dependency, but a 
>> "recommended", 
>> "optional" dependency (or however it's called in Gentoo).
> 
> Why not just issue a warning/notice instead of completely failing to run 
> Cherokee when rrdtool won't run?
> Just a suggestion..

We could do that as well.  However, IMO the current behavior is still correct. 
The server only fails to start up whenever you configure it to use rrdtool and 
the binary is not found.  The server just lets you know about the situation: 
"You *did* command me to draw graphs, but the tools aren't available; thus, I 
cannot do my work. Fix it.".

Do you guys think that a "soft" error/warning would be better in this case?

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to