Solved

Apache error_log file ?

Posted on 2002-05-28
2
122 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
2 Comments
 
LVL 51

Accepted Solution

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

Author Comment

by:jvras
Comment Utility
Thanks
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now