save the logfile

filepath /logs/
filename year-month-day