Change the activity log service to take a string and an array of options. Provide defaults for the options.
Make localhost a trusted proxy, so that it getClientIp() works.
Add ip address as a field in logentry
add user as a field in log entry. It isn't a ref to the Users entity, because it may be shell/console user names.