bejelentkezett felhasználók követése apache logokban

php kódba:
apache_note(‘user_id’, $some_user_id);

apache logformat:
LogFormat “%h %l %{user_id}n %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”” combined_w_uid
CustomLog /var/log/apache2/access.log combined_w_uid

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.