|
From: Kevin G. <ke...@go...> - 2004-06-03 21:36:55
|
Yee, I think the answer is no, unless you're using an XML config file, in which case the parser should complain. The properties-style files are so loosely structured that things that don't look like name/value lines simply don't trigger any actions. I think properties files under java are going to have the same problems, but I don't have time to test them right now: http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html#load(java.io.InputStream) Yee,Bradley [Ontario] wrote: > Hey there, > > Is there a way to verify that a log config file is actually a config > file? I.e.. If I were to rename an image file to the log config file > and use that as the config my perl script would run as though there was > no error but no logging would occur. > > Thanks > > Bradley Yee > -- Happy Trails . . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510) 525-5217 |