cancel
Showing results for 
Search instead for 
Did you mean: 
nsgmike
Level 7

MWG 7 - Log Handler custom log set up

I am trying to set up a custom log file for Uploads that get blocked.

I created the upload.log log file under the File System Setting engine. 

Then under Rule Set --> Log handler --> I created  a Rule that says "MediaType.EnsuredTypes at least one in list General Upload Media Type Blocklist" then I have the event as

Set User-Defined.logLine = IP.ToString (Client.IP)

+ URL

+ URL.ReputationString<Default>

+ Body.Filename

FileSystemLogging.WriteLogEntry("Upload Block")<Upload Block>

But all I receive in the logs is Upload Block.

Any ideas?

Thanks

0 Kudos