- Knowledge base
- powerJobs Processor
- Troubleshooting
Add-Log, Job-ErrorMessage or Write-Host not working
Issue
Add-Log is not logging to powerJobs Processor TraceWindow when running inside the JobProcessor (in “PowerJobs Console” and “PowerJobs Processor 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 the JobProcessor and reconfigured the Logging-Environment of log4net.
Solution
- Uninstall all other extensions other than powerJobs Processor 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
- powerJobs Processor logging