Hi,

i would like to write a script which greps the error_log+access_log of
apache for 
AxKit debug output (to better trace the bugs):

I need to grep following information into this files:

error/lastrequest.log           # holding the last request, before the
last error occured
error/code.pl                   # the failty code which AxKit dumps
error/perlmsg                   # the error message

Because there is no obvious pattern how the exactly exctract the
information (instead of
guessing) i would like to have marks in the log. Example appended...

Anobody ideas where to insert the "print '#MARK#'" in the AxKit code ??

Greets,
Murat

#MARK# ERROR BEGIN

#MARK# CODE START

package
Apache::AxKit::Language::XSP::ROOT::usr::local::apache::share::htdocs::a
xkit::test::esqltest_2daxkit_2exml;
@Apache::AxKit::Language::XSP::ROOT::usr::local::apache::share::htdocs::
axkit::test::esqltest_2daxkit_2exml::ISA =
('Apache::AxKit::Language::XSP::Page');
use Apache;
use Apache::Constants qw(:common);

...

#MARK# CODE END

#MARK# MESSAGE START

Scalar found where operator expected at (eval 21) line 62, near "} #
</get-columns>
$parent"
        (Missing operator before  # </get-columns>
$parent?)
Bareword found where operator expected at (eval 21) line 71, near "} #
</execute-query>
AxKit::XSP::ESQL::end_query"
        (Missing operator before AxKit::XSP::ESQL::end_query?)

#MARK# MESSAGE STOP

#MARK# ERROR END


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to