server logging function to print gmt datetime