Great work Cecile, as you may or may not have noticed, I’ve pretty much abandoned use of the formal community, but this looks great.
A year ago Microsoft broke their own RemoteApp software, which thankfully a Microsoft community site helped us get around. To celebrate the anniversary of this they have now broken the Event Viewer in their latest Windows update releases. This is a big problem as FileMaker have taken away the logs within FileMaker and the only way we can dynamically view logs is through the Windows Server Event Viewer. Thankfully, in our case, we’ve set up a custom view in Event Viewer called ‘FileMaker Server 18’ - if we hadn’t done this, I think our only option was to continually download logs from the server admin (we haven’t tried this, I’m assuming that the Event Viewer problem doesn’t affect this).
Providing a custom view has been setup, there is a work around as follows:
Copy the function in the attached ‘EventViewer Function.txt’ file (had to edit this after posting, as the function pasted here got formatted incorrectly after posting, so have changed it to the file contents).
Launch a PowerShell window and paste (top left corner icon, Edit -> Paste
Press the return key twice to complete this until the ‘PS’ prompt returns.
The custom views will appear.
Type in of the custom view, in our case FileMaker Server 18
The FileMaker logs will commence scrolling.
HOWEVER. In our case our logs go back to April and this takes the complete buffer from PowerShell and it only displays from the beginning of April to the end. If you don’t want to play around with the log files, run as described above but quickly press the CTRL C keys, which will stop the function from running. As it starts at the beginning, all of the latest log entries can be viewed.
The up arrow can be used to repeat the recent commands, allowing the logs to be redrawn as necessary, not truly dynamic but better than constantly downloading and opening files.
Microsoft have rushed to help as usual by planning to role out a fix sometime around late June. In the meantime, if you haven’t previously setup a custom view for FileMaker, your only option is file downloads (as far as I’m aware).
As my wife and partner would say - ‘new and improved’!
AndyEventViewer Function.txt (837 Bytes)