First version of the purgeLogs script. \n Added the license.