You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl-cvs@perl.apache.org by ri...@apache.org on 2004/01/22 23:08:16 UTC
cvs commit: embperl/podsrc Config.spod
richter 2004/01/22 14:08:16
Modified: . Changes.pod TODO embperl.h epdefault.c
podsrc Config.spod
Log:
default for debug is off
Revision Changes Path
1.220 +3 -0 embperl/Changes.pod
Index: Changes.pod
===================================================================
RCS file: /home/cvs/embperl/Changes.pod,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -r1.219 -r1.220
--- Changes.pod 22 Jan 2004 21:55:12 -0000 1.219
+++ Changes.pod 22 Jan 2004 22:08:16 -0000 1.220
@@ -8,6 +8,9 @@
Embperl::Form::Validate
- Added $epreq and $epapp for the request and application object, so
$r = shift isn't needed anymore on every page.
+ - Default for EMBPERL_DEBUG is now zero, which mean, that Embperl does
+ not write anymore to /tmp/embperl.log unless requested. Suggested by
+ Angus Lees and others.
- fixed various compiler warnings reported by Angus Lees.
- Added missing Form/Validate modules to distribution.
- fixed missing $req_rec in base template call from Embperl::Object.
1.116 +0 -3 embperl/TODO
Index: TODO
===================================================================
RCS file: /home/cvs/embperl/TODO,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- TODO 22 Jan 2004 21:55:12 -0000 1.115
+++ TODO 22 Jan 2004 22:08:16 -0000 1.116
@@ -5,9 +5,6 @@
- include at top of every file [Kee Hinckley 3.8.2003]
-- debug defualt to zero?
-
-
TODO for Embperl 2.1 and later
1.33 +2 -1 embperl/embperl.h
Index: embperl.h
===================================================================
RCS file: /home/cvs/embperl/embperl.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- embperl.h 15 Feb 2003 20:46:31 -0000 1.32
+++ embperl.h 22 Jan 2004 22:08:16 -0000 1.33
@@ -106,6 +106,7 @@
enum dbg
{
+ dbgNone = 0,
dbgStd = 1,
dbgMem = 2,
dbgEval = 4,
1.4 +3 -3 embperl/epdefault.c
Index: epdefault.c
===================================================================
RCS file: /home/cvs/embperl/epdefault.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- epdefault.c 30 Mar 2003 18:57:02 -0000 1.3
+++ epdefault.c 22 Jan 2004 22:08:16 -0000 1.4
@@ -43,7 +43,7 @@
#else
pCfg -> sLog = "/tmp/embperl.log" ;
#endif
- pCfg -> bDebug = dbgStd ;
+ pCfg -> bDebug = dbgNone ;
pCfg -> nMailErrorsResetTime = 60 ;
pCfg -> nMailErrorsResendTime = 60 * 15 ;
}
@@ -95,7 +95,7 @@
static void embperl_DefaultComponentConfig (/*in*/ tComponentConfig *pCfg)
{
- pCfg -> bDebug = dbgStd ;
+ pCfg -> bDebug = dbgNone ;
/* pCfg -> bOptions = optRawInput | optAllFormData ; */
pCfg -> nEscMode = escStd ;
pCfg -> bCacheKeyOptions = ckoptDefault ;
1.8 +3 -3 embperl/podsrc/Config.spod
Index: Config.spod
===================================================================
RCS file: /home/cvs/embperl/podsrc/Config.spod,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Config.spod 14 Feb 2003 22:54:04 -0000 1.7
+++ Config.spod 22 Jan 2004 22:08:16 -0000 1.8
@@ -393,7 +393,7 @@
your embedded Perl code is doing and to help debug it.
-=head2 *CFG $application / Embperl_DEBUG / debug / / yes / 1
+=head2 *CFG $application / Embperl_DEBUG / debug / / yes / 0
This is a bitmask which specifies what should be written to the log.
To specify multiple debugflags, simply add the values together.
@@ -678,7 +678,7 @@
contains C<../>.
C<Execute> and the method of the request object expects/returns a array ref.
-=head2 *CFG $request / Embperl_DEBUG / debug / yes
+=head2 *CFG $request / Embperl_DEBUG / debug / / yes / 0
See application configuration for an describtion of possible values
@@ -793,7 +793,7 @@
another file. (Any package's variables will still be accessible with
explicit package names.)
-=head2 *CFG $component / Embperl_DEBUG / debug / / yes
+=head2 *CFG $component / Embperl_DEBUG / debug / / yes / 0
See application configuration for an describtion of possible values
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-cvs-help@perl.apache.org