Adding reason when a file is changed

--HG--
branch : 1.x
extra : rebase_source : cdc14af824da5bbcaf2fc633909dda23f423c581
This commit is contained in:
Sebastien Ros
2013-05-09 21:55:39 -07:00
parent 35f0975eb2
commit ae167b35f8

View File

@@ -100,7 +100,7 @@ namespace Orchard.FileSystems.VirtualPath {
public void Signal(string key, object value, CacheItemRemovedReason reason) {
var virtualPath = Convert.ToString(value);
Logger.Debug("Virtual path changed '{0}'", virtualPath);
Logger.Debug("Virtual path changed ({1}) '{0}'", virtualPath, reason.ToString());
var token = DetachToken(virtualPath);
if (token != null)