>> Request-Uri: /custom/foobar
>> Request-Params: {"action":"edit"}
> actually, this should already be in access.log(the last 500 error
> one)...... I don't see why you need it in error log....
Sorry, my example is not precise enough. Normally, $_POST, $_SESSION['username'] and php://input are not part of access.log. So having ajax requests with all kinds of inputs makes things more difficult.
Parsing complete access logs can be quite slow and logging php://input for every request might not be possible in most cases.
Regards
Thomas
Xinchen Hui wrote on 28.01.2015 07:15: