Solved

Apache error_log file ?

Posted on 2002-05-28
2
123 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
ID: 7042609
1. no
2. no, 'cause there are no longer warnings
0
 

Author Comment

by:jvras
ID: 7043712
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Perl Regular expression 9 199
Extract multiple value with delimiters from a string 4 168
pattern matching in perl 2 101
instmodsh - listing perl modules 2 74
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 …
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

895 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

12 Experts available now in Live!

Get 1:1 Help Now