Moreno, Javier <> wrote: > All, > > Does anyone know of a way of logging custom message output to the > Apache (or a webserver for that matter) log? Whenever I do changes > since I do not have the luxury of a test platform everyone sees a lot > of my logging/debuggin messages on the page I am working. It would be > much better to see those on the Apache log as warnings or something > that does not disrupt operations.
This is almost a self answering question. Unless you are are using something like "use CGI::Carp qw(fatalsToBrowser);" anything written to STDERR (e.g. "warn" or "print STDERR") should be written to the error log. In any event, it is a bad idea to test on a live web server. Surely you can install Apache on your development box? HTH -- Brian Raven ================================= Atos Euronext Market Solutions Disclaimer ================================= The information contained in this e-mail is confidential and solely for the intended addressee(s). Unauthorised reproduction, disclosure, modification, and/or distribution of this email may be unlawful. If you have received this email in error, please notify the sender immediately and delete it from your system. The views expressed in this message do not necessarily reflect those of Atos Euronext Market Solutions. L'information contenue dans cet e-mail est confidentielle et uniquement destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail vous parvient par erreur, nous vous prions de bien vouloir prevenir l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre systeme. Le contenu de ce message electronique ne represente pas necessairement la position ou le point de vue d'Atos Euronext Market Solutions. _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
