Craft Error Logging not doing anything? I have a plugin called EducatorEntriesPlugin, and in the controller of the plugin, I have a method called actionExportEducator. In this method, I am logging an error using the code below, but when the action is called, the error is not logged into the log file, why might this be?

Craft::log("There was an error")


I also did EducatorEntriesPlugin::log, that doesn't do anything either.
Turn devMode on https://craftcms.com/support/dev-mode

If you want the errors to log regardless of devMode or not, pass in true as the third parameter, e.g.:

Craft::log("There was an error", LogLevel::Info, true);

https://straightupcraft.com/articles/how-do-i-log-errors-warnings-and-info-in-my-plugins-to-a-craft-log-file