[PATCH 05/12] hs20-spp-html: apache + systemd hides the log file.

Jouni Malinen j at w1.fi
Sat Mar 28 05:17:16 EDT 2015


On Thu, Mar 26, 2015 at 05:39:51PM -0400, greearb at candelatech.com wrote:
> Add note so that the user has a chance to find it more easily.
> diff --git a/hs20/server/www/spp.php b/hs20/server/www/spp.php
> +// Note that systemd + apache may run under chroot, and so your log file will
> +// be in some hard-to-find place like:
> +// /tmp/systemd-httpd.service-XqgPdBa/tmp/hs20_spp_server.log
>  $last = exec("$osu_root/spp/hs20_spp_server -r$osu_root -f/tmp/hs20_spp_server.log", $output, $ret);

I would much rather provide means for configuring the log file path in
config.php.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list