Product: PowerShell Universal
Version: 4.0.1Hello all,
we are using two PU servers in cluster. Unfortunately, since the update to 4.0.1 I have the problem that I no longer get logs from one of the two servers.
When I look at the new logging targets, I see on ServerA:

And on ServerB:

Wenn ich versuche auf ServerA ein Logging Target hinzuzufügen, dann erhalte ich kurzzeitig folgende Fehlermeldung:

How do I get state from server B back to server A now? I have already copied the appsettings.json from B to A, unfortunately without success.
Thanks!
Do you have a logging.ps1 in either of your servers’ .universal folders?
Adam Driscoll
PowerShell Expert and Software Architect at Devolutions
Wenn ich versuche auf ServerA ein Logging Target hinzuzufügen, dann erhalte ich kurzzeitig folgende Fehlermeldung:
You know end users are frustrated when they switch to german mid-post.
It was late, sorry
No, this file does not exist in our system. Until now I always assumed that the log directory is configured via the appsettings.json file.
What does a simple logging.ps1 look like? Just create the file without any content?
Thanks!
Many things were fixed for me after just creating an empty logging/authentication/endpoints/etc.ps1 within the .universal folder.
The application will be able to write it’s bare minimum on next startup
Worth a try, for sure!
Crazy, worked immediately after restarting the service. Thanks for the tip!
Nevermind…
Same issue as before?