Sends the log file to server at a specified periodic time
Separated constants into two files.  One file will be necessary for
users to modify. The second file is for experts to adjust the code.