Re: Severe problem with $r->log_error

2000-08-15 Thread Doug MacEachern

On Tue, 11 Jul 2000, Axel Wagner wrote:

> Hi,
> 
> I have a serious problem with the logging facility of MOD_PERL.
> Something that once worked perfectly well suddenly turned quite.
> 
> I have tried all the logging statements from the eagle book, but
> my error log file refuses to show any trace thereof.
> 
> I have also set the LogLevel to debug, but even with the following
> I do not succeed:
> 
> my $rlog = $r->log;
> $rlog->error('Message I try to print out');
> 
> nor with any of the following:
> 
> $r->log_error($msg);
> $r->log->error($msg);
> 
> Not even a $r->log->debug(); works.
> 
> Only a brute warn() leaves a trace.

what is your LogLevel set to in httpd.conf?




E: RE: Severe problem with $r->log_error Date: Tue, 11 Jul 2000 17:20:01 +0100 (BST) From: Matt Sergeant log_error

2000-07-12 Thread Axel Wagner

Hi,

> Next question, did you "use Apache::Log;" ?
--
Yes! 

That is what I am "using":

--- snip ---

use strict;
use vars qw(%DBNew);

use CGI::Cookie;
use CGI '-autoload';
use MD5 ();

use Biobase::DBI qw(:All);

use Apache::File ();
use Apache::URI ();
use Apache::Log ();

use Apache::Biobase::Config qw(:Functions);

use Data::Dumper;

--- snip ---

Axel
 

Biobase GmbH -Mascheroder Weg 1B-   D-38114 Braunschweig
phone: +49531/2603610 fax:+49531/2603670
eMail: [EMAIL PROTECTED]  http://www.biobase.de



RE: RE: Severe problem with $r->log_error

2000-07-11 Thread Matt Sergeant

On Tue, 11 Jul 2000, Axel Wagner wrote:

> > Geoff wrote:
> >
> > did you compile mod_perl with EVERYTHING=1 or PERL_LOG_API=1
> 
> Yes! And with a lot of other options. Take a look:
> 
> content of .makepl_args.mod_perl:
> 
> EVERYTHING=1
> APACHE_SRC=../../../Server/apache_1.3.12/src
> NO_HTTPD=1
> USE_APACI=1
> PREP_HTTPD=1
> USE_DSO=1
> PERL_DEBUG=1
> PERL_TRACE=1

Next question, did you "use Apache::Log;" ?

-- 


Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org




RE: RE: Severe problem with $r->log_error

2000-07-11 Thread Axel Wagner

> Geoff wrote:
>
> did you compile mod_perl with EVERYTHING=1 or PERL_LOG_API=1

Yes! And with a lot of other options. Take a look:

content of .makepl_args.mod_perl:

EVERYTHING=1
APACHE_SRC=../../../Server/apache_1.3.12/src
NO_HTTPD=1
USE_APACI=1
PREP_HTTPD=1
USE_DSO=1
PERL_DEBUG=1
PERL_TRACE=1
 


Axel

-- 

Biobase GmbH -Mascheroder Weg 1B-   D-38114 Braunschweig
phone: +49531/2603610 fax:+49531/2603670
eMail: [EMAIL PROTECTED]  http://www.biobase.de



RE: Severe problem with $r->log_error

2000-07-11 Thread Geoffrey Young

did you compile mod_perl with EVERYTHING=1 or PERL_LOG_API=1

--Geoff

> -Original Message-
> From: Axel Wagner [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 11, 2000 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: Severe problem with $r->log_error
> 
> 
> Hi,
> 
> I have a serious problem with the logging facility of MOD_PERL.
> Something that once worked perfectly well suddenly turned quite.
> 
> I have tried all the logging statements from the eagle book, but
> my error log file refuses to show any trace thereof.
> 
> I have also set the LogLevel to debug, but even with the following
> I do not succeed:
> 
> my $rlog = $r->log;
> $rlog->error('Message I try to print out');
> 
> nor with any of the following:
> 
> $r->log_error($msg);
> $r->log->error($msg);
> 
> Not even a $r->log->debug(); works.
> 
> Only a brute warn() leaves a trace.
> 
> This is the identification of my server:
> 
> Apache/1.3.12 (Unix) PHP/3.0.16 mod_perl/1.24 mod_ssl/2.6.4
> OpenSSL/0.9.5a
> 
> Help would be very appreciated.
> 
> 
> Axel Wagner
> 
> -- 
> 
> Biobase GmbH -Mascheroder Weg 1B-   D-38114 Braunschweig
> phone: +49531/2603610 fax:+49531/2603670
> eMail: [EMAIL PROTECTED]  http://www.biobase.de
> 
> 



Severe problem with $r->log_error

2000-07-11 Thread Axel Wagner

Hi,

I have a serious problem with the logging facility of MOD_PERL.
Something that once worked perfectly well suddenly turned quite.

I have tried all the logging statements from the eagle book, but
my error log file refuses to show any trace thereof.

I have also set the LogLevel to debug, but even with the following
I do not succeed:

my $rlog = $r->log;
$rlog->error('Message I try to print out');

nor with any of the following:

$r->log_error($msg);
$r->log->error($msg);

Not even a $r->log->debug(); works.

Only a brute warn() leaves a trace.

This is the identification of my server:

Apache/1.3.12 (Unix) PHP/3.0.16 mod_perl/1.24 mod_ssl/2.6.4
OpenSSL/0.9.5a

Help would be very appreciated.


Axel Wagner

-- 

Biobase GmbH -Mascheroder Weg 1B-   D-38114 Braunschweig
phone: +49531/2603610 fax:+49531/2603670
eMail: [EMAIL PROTECTED]  http://www.biobase.de