Cleanup some logging
This commit is contained in:
@@ -4,6 +4,7 @@ using System.Linq;
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using LeafWeb.Core.Entities;
|
using LeafWeb.Core.Entities;
|
||||||
|
using LeafWeb.Core.Utility;
|
||||||
using LeafWeb.Web.Attributes;
|
using LeafWeb.Web.Attributes;
|
||||||
using LeafWeb.Web.ViewModels;
|
using LeafWeb.Web.ViewModels;
|
||||||
using LeafWeb.Web.ViewModels.LeafInput;
|
using LeafWeb.Web.ViewModels.LeafInput;
|
||||||
@@ -86,7 +87,9 @@ namespace LeafWeb.Web.Controllers
|
|||||||
|
|
||||||
SetStatusMessage(HttpUtility.HtmlEncode(msg),StatusType.Success);
|
SetStatusMessage(HttpUtility.HtmlEncode(msg),StatusType.Success);
|
||||||
|
|
||||||
LogManager.GetCurrentClassLogger().Info(msg);
|
var logger = LogManager.GetCurrentClassLogger();
|
||||||
|
logger.Info("LeafInput: {0} Added, {1}, {2}, {3}", leafInput.Id, leafInput.Identifier, leafInput.SiteId, leafInput.Email);
|
||||||
|
logger.Info("LeafInputFiles: {0}, Queued", leafInput.Files.Select(f => f.Id.ToString()).Join(", "));
|
||||||
|
|
||||||
HangfireStartup.TriggerPiscalProcessQueue();
|
HangfireStartup.TriggerPiscalProcessQueue();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user