in reply to How do I...Redirect error.log data to a file of my chosing
Or you can just use fatalsToBrowser :)BEGIN { use CGI::Carp qw(carpout); open(LOG, ">>/usr/local/cgi-logs/mycgi-log") or die("Unable to open mycgi-log: $!\n"); carpout(LOG); #Correct way, according to tchrist, is carpo +ut(\*LOG); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I...Redirect error.log data to a file of my chosing
by crazyinsomniac (Prior) on Jun 01, 2002 at 10:16 UTC | |
by Beatnik (Parson) on Jun 01, 2002 at 10:23 UTC | |
by S_Shrum (Pilgrim) on Jun 03, 2002 at 01:23 UTC | |
|
Re: Re: How do I...Redirect error.log data to a file of my chosing
by Kanji (Parson) on Jun 01, 2002 at 13:13 UTC |