Logging - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.9
Category
Reference Guide

To get more fine grained logging information, set the logLevel parameter to one the values:

  • ERROR
  • INFO
  • DEBUG

The default logging level is ERROR.

When setting the log level to:

  • ERROR, you only get the ERROR messages
  • INFO, you get any ERROR and/or INFO messages
  • DEBUG, you get all messages with any of the ERROR, INFO, DEBUG log levels

The example below shows how to set the logging level to get DEBUG and INFO and ERROR messages.

<div class="AFSWidget" title="Configuration">
<script type="application/json">
{
"afsDefaults": {
"afs:service": 7020,
"afs:status": "alpha",
"afs:lang": "fr"
}
"logLevel": "DEBUG"
}
</script>
</div>