Issue

When using powerVault v21 and powerJobs Processor v20 the powerVault logs are not written in the powerJobs Processor logfile. 

Instead they can be found in the powerVault logfile.


Cause

The issue is caused by powerVault using the coolOrange.Logging v3 library and powerJobs Processor using the coolOrange.Logging v2 library.


Solution

There are 2 possible solution for this issue:


Solution 1

Upgrade powerJobs Processor to v21.


Solution 2

It is possible to force powerJobs Processor to use the coolOrange.Logging v3 by following these steps:

  1. Navigate to "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Policy.2.0.coolOrange.Logging\v4.0_2.0.8.20682__cbffcaf3c8b9278c\"
  2. Open the file "Policy.2.0.coolOrange.Logging.config" with a text editor.
  3. Search for "<bindingRedirect... />" and change it to: "<bindingRedirect oldVersion="2.0.0.0-2.0.8.20682" newVersion="3.0.1.25692" />"
  4. Save the file.


See Also

powerJobs Processor logging (coolOrange wiki)

powerJobs Processor v21 Change logs (coolOrange wiki)

PowerShell events not executed after powerVault upgrade (coolOrange knowledge base)