diff options
| author | fukachan <fukachan> | 2004-12-05 16:19:04 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2004-12-05 16:19:04 +0000 |
| commit | 90766f6d10ace4f05e689dd32363ef84a6366854 (patch) | |
| tree | 177d4aef3cac4d322b547f920b9f169f7d4f3f04 /fml/lib/FML/Process/CGI | |
| parent | 968cb03a8eacc447e78f01b0c12ce4eaeea53d4b (diff) | |
| download | fml8-90766f6d10ace4f05e689dd32363ef84a6366854.tar.gz fml8-90766f6d10ace4f05e689dd32363ef84a6366854.tar.bz2 fml8-90766f6d10ace4f05e689dd32363ef84a6366854.zip | |
define logdebug() to disable log messages.
modified to use proper log$role().
bug fix log messages if needed.
Diffstat (limited to 'fml/lib/FML/Process/CGI')
| -rw-r--r-- | fml/lib/FML/Process/CGI/Kernel.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fml/lib/FML/Process/CGI/Kernel.pm b/fml/lib/FML/Process/CGI/Kernel.pm index d7267df4..c444dd12 100644 --- a/fml/lib/FML/Process/CGI/Kernel.pm +++ b/fml/lib/FML/Process/CGI/Kernel.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Kernel.pm,v 1.82 2004/07/23 15:59:11 fukachan Exp $ +# $FML: Kernel.pm,v 1.83 2004/10/09 12:04:18 fukachan Exp $ # package FML::Process::CGI::Kernel; @@ -210,7 +210,7 @@ sub _cgi_resolve_ml_specific_variables $curproc->append_to_config_files_list($config_cf); } else { - $curproc->log("debug: no ml_name"); + $curproc->logdebug("no ml_name"); } $curproc->__debug_ml_xxx('cgi:'); @@ -228,7 +228,7 @@ sub _cgi_fix_log_file $config->set('ml_home_dir', $config->{ domain_local_tmp_dir }); $config->set('log_file', $config->{ domain_local_log_file }); - $curproc->log("debug: log_file = $config->{ log_file }"); + $curproc->logdebug("log_file = $config->{ log_file }"); } @@ -328,7 +328,7 @@ sub _error_string eval q{ $curproc->logerror($r); my ($k, $v); - while (($k, $v) = each %ENV) { $curproc->log("$k => $v");} + while (($k, $v) = each %ENV) { $curproc->logdebug("$k => $v");} }; } |
