Add option to log path/URL for caller script

This feature is disabled by default but can be enabled via module
settings for either external scripts / apps only or both local and
externals scripts.