rotate files not working

Added explicitly called self.log_date and self.output_file when assigning values to them.
Not explicitly calling them on self was causing the script to think they were local variables and zlogger would still try to write to the original(first) log file, causing an error as the file had been closed.