changed logs to log