3 Replies Latest reply on Dec 1, 2016 7:45 AM by webse

    Webgateway Rule Usage Log

    webse

      Hi

       

      I would like to test the policy viewer.
      I have a problem creating the RuleUsage log. In my draft, two characters are too much - and I have no idea how I can correct that.

       

      Here the correctly format :

      Set User-Defined.logLine =

           DateTime.Date.ToString("%YYYY-%MM-%DD") +

           " " +

           DateTime.Time.ToString("%hh:%mm:%ss") +

           " "" +

           List.OfString.ToString(Rules.EvaluatedRules) +

           "" "" +

           List.OfString.ToString(Rules.FiredRules) +

           """

      FileSystemLogging.WriteLogEntry(User-Defined.logLine)<RuleUsage.log>

       

      In my draft, these lines differ :

         List.OfString.ToString(Rules.EvaluatedRules, ") +

         List.OfString.ToString(Rules.FiredRules, ") +

       

      I see an additional symbol in this line, but I can`t see the way to make it better. See the attachment.

       

      I am looking forward to help - greetings Webse