diff --git a/Web/Controllers/LeafInputController.cs b/Web/Controllers/LeafInputController.cs index 7aca1f8..111fe8d 100644 --- a/Web/Controllers/LeafInputController.cs +++ b/Web/Controllers/LeafInputController.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Web; using System.Web.Mvc; using LeafWeb.Core.Entities; +using LeafWeb.Core.Utility; using LeafWeb.Web.Attributes; using LeafWeb.Web.ViewModels; using LeafWeb.Web.ViewModels.LeafInput; @@ -86,7 +87,9 @@ namespace LeafWeb.Web.Controllers 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();