Skip to main content

Configuration

The agent works out of the box with sensible defaults. These settings are available for troubleshooting.

Properties

View agent properties in Composer Pro by selecting the agent and opening the Properties tab.

Status (Read-Only)

PropertyDescription
Agent VersionCurrent version of the installed agent
Authentication statusLogin state (e.g., "Not logged in", "Logged in")

Authentication

PropertyDescription
Authentication URLClick to open the browser and authenticate with your DriverForge account

Logging

PropertyDefaultDescription
Log ModeLogWhere to output logs
Log Level2 - WarningVerbosity of log output

Log Mode Options

OptionDescription
OffNo logging
PrintOutput to Lua Output window
LogWrite to controller logs
Print and LogBoth

Log Level Options

LevelDescription
0 - FatalCritical errors only
1 - ErrorErrors
2 - WarningWarnings and above (default)
3 - InfoInformational messages
4 - DebugDetailed debug output
5 - TraceMaximum verbosity

Troubleshooting with Logs

To diagnose issues:

  1. Select the Anvil Agent
  2. Set Log Mode to "Print and Log"
  3. Set Log Level to "4 - Debug" or "5 - Trace"
  4. Check Lua Output in Composer

You'll see:

  • Events received from drivers
  • Connection status changes
  • Any errors encountered
tip

If you set the log level to Debug or Trace, it will automatically revert to the previous setting after 30 minutes. This prevents accidentally leaving verbose logging enabled, which generates a lot of output.

Multiple Controllers

If you have multiple controllers in your dev setup:

  • Install and authenticate the agent on each controller
  • Each agent streams independently
  • All events appear in the same project in Anvil