Apache/2.4.7 (Ubuntu) - mod_dumpio not logging post data -
i can't seem apache module mod_dumpio log anything.
i have tried suggestions in this post
to sure have tried following
disabled of vhosts except 1 site working on
ran a2enmod dump_io, , restarted apache, can see in /etc/apache/mods-enabled/dump_io.load
check /etc/apache/apache.conf loglevel dumpio:trace7 too
i open log tail -f n 20 /var/log/apache2/packager-access.log
run next command send post info --data "param1=value1¶m2=value2" http://packager.local/api/package/create
can see lines 127.0.0.1 - - [12/nov/2014:10:07:04 +0000] "post /api/package/create http/1.1" 500 294 "-" "curl/7.35.0"
the vhost conf below
<virtualhost *:80> documentroot /var/www/packager/web servername lms-packager.local errorlog ${apache_log_dir}/packager-error.log customlog ${apache_log_dir}/packager-access.log combined dumpioinput on dumpiooutput on loglevel dumpio:trace7 </virtualhost> is there else try
ok after reading this post tried moving configuration server level
as post suggests key point apache manual
server config means directive may used in server configuration files (e.g., httpd.conf), not within or containers. not allowed in .htaccess files @ all.
the next of import check errorlog file (e.g. /var/log/apache2/error.log) rather vhost file makes sense if server config
to logged (dumped) error.log file.
apache post module
No comments:
Post a Comment