Correcting faulty overwrite mode
Adding seconds to file logging