Issue

Add-Log is not logging to powerJobs-TraceWindow when running inside the JobProcessor (in “PowerJobs Console” and “PowerJobs ISE” it works) - Failed Jobs that are located in the Job-Queue have no Error-Message.


Cause

One cause could be that another extension is loaded in JobProcessor and reconfigures the Logging-Environment of log4net.


Solution

  • Uninstall all other extensions than powerJobs from the Autodesk-Extensions directory (e.g. “C:\ProgramData\Autodesk\Vault {Year}\Extensions”) that are using log4net
  • Change the logging-configuration file of all other extensions using log4net by uncommenting the root appender (“<root>…</root>”)


See Also

powerJobs 19 Add-Log was replaced with Write-Host (coolOrange Wiki)

powerJobs logging (coolOrange Wiki)