GPII-731: move logging script

This commit is to move the bash script for logging to pilotsConfig, as discussed with Javi. (See the original pull request at https://github.com/GPII/linux/pull/48.)