mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-27 04:19:04 +08:00
Added Log4net configuration for recipes logging. Added logging to replace the removed reports logging.
This commit is contained in:
@@ -228,9 +228,9 @@ namespace Orchard.Themes.Controllers {
|
||||
return HttpNotFound();
|
||||
|
||||
try {
|
||||
// TODO: LOGGING
|
||||
_dataMigrationManager.Update(themeId);
|
||||
Services.Notifier.Information(T("The theme {0} was updated successfully", themeId));
|
||||
Services.Notifier.Information(T("The theme {0} was updated successfully.", themeId));
|
||||
Logger.Information("The theme {0} was updated successfully.", themeId);
|
||||
} catch (Exception exception) {
|
||||
Logger.Error(T("An error occured while updating the theme {0}: {1}", themeId, exception.Message).Text);
|
||||
Services.Notifier.Error(T("An error occured while updating the theme {0}: {1}", themeId, exception.Message));
|
||||
|
||||
Reference in New Issue
Block a user