change log from console to file