Solved

Apache error_log file ?

Posted on 2002-05-28
2
126 Views
Last Modified: 2010-03-05
I'm using the parameter #!/usr/bin/perl -w and it's gives only warnings.
I can not see the file on our system so I use the follow codes in my scripts for a own my_error.log file.

use CGI qw /:standard center/;
BEGIN {
use CGI::Carp qw(carpout);
   open(LOG, ">>/usr/name/www_log/my_error.log") or
      die("Unable to open my_error.log: $!\n");
    carpout(LOG);
  }

I have 2 questions :
1. my_error.log file is the same as the Apache error_log file of a system ?
2. I'm asking to my self when I remove the -w still the Warnings will be saved in the Apache error_log file ? The warnings will not saved in my_error.log when I remove the -w.

Thanks a lot
jvras

0
Comment
Question by:jvras
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 7042609
1. no
2. no, 'cause there are no longer warnings
0
 

Author Comment

by:jvras
ID: 7043712
Thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question