http://www.perlmonks.org?node_id=563033

rob_au has asked for the wisdom of the Perl Monks concerning the following question:

With a small project that I am currently working on, I am writing a protocol handler which is being embedded within Apache by way of mod_perl2. When this protocol handler is accessed however, there is no entry of this access in the server access log - This of course is not unexpected given that the HTTP engine is not handling the request. My question is however, how can I write to the server access log within my protocol handler to record these server accesses? The Apache2::Log module only appears to offer mechanisms by which to send categorised events to the server error log, an avenue of logging which I wish to reserve for internal events within my protocol handler.

Is there any other direction or suggestion which fellow monks can provide me on this problem?

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001000000000'"