[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Apache error_log file ?

Posted on 2002-05-28
2
Medium Priority
?
129 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 300 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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

656 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