Angus Lees wrote:

Err, this only works because you've redefined what the default value
is set to (dbgStd) to 0, you haven't properly set the default value to
0 -- if that makes any sense.  Basically, you are unable to set DEBUG
to dbgStd anymore, which is probably not good.

Try this patch instead:

--- epdefault.c.orig 2003-12-13 14:10:41.000000000 +1100
+++ epdefault.c 2003-12-13 14:13:32.000000000 +1100
@@ -43,7 +43,7 @@
#else
pCfg -> sLog = "/tmp/embperl.log" ;
#endif
- pCfg -> bDebug = dbgStd ;
+ pCfg -> bDebug = 0 ;
pCfg -> nMailErrorsResetTime = 60 ;
pCfg -> nMailErrorsResendTime = 60 * 15 ;
}
@@ -95,7 +95,7 @@
static void embperl_DefaultComponentConfig (/*in*/ tComponentConfig *pCfg)


    {
-    pCfg -> bDebug = dbgStd ;
+    pCfg -> bDebug = 0 ;
    /* pCfg -> bOptions = optRawInput | optAllFormData ; */
    pCfg -> nEscMode = escStd ;
    pCfg -> bCacheKeyOptions = ckoptDefault ;



Thank you, Angus, for your answer. Of course, my patch was not good, but
I didn't have enough time for study source code.

But in my opinion, it will be better to disable creation log file by default.

I'll try to use your patch.

And thanks again.

--
Best regards, Michael Stepanov,
Perl/Linux Developer Francoudi & Stephanou Ltd.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to