System.Log for console apps not showing correct app name?

If, in a Windows console app named, say “Foobar”, I do this:

System.Log(System.LogLevelError, "foo")

What shows up in the Event Viewer in the “Source” column is “User Profile General”


Is there any way to get the Event Viewer to show the name of the app instead? I have all the Build Settings ID fields filled in.

Xojo 2015r2.2, Windows Server 2012r2


Bump. Anyone else have this problem? It drives the IT folks crazy that I don’t show my app name in the Windows Event Viewer.

Nope, not just you. I have the same problem.
Apparently it’s been around for a while.
I thought that maybe it was related to the fact that Xojo apps are not native PE32 files (see, but it doesn’t seem to be that, since 64 bit files are actual PE32+ files and they display the same problem.
Maybe @Joe Ranieri has some idea what might be the problem. I’m stuck for now.

I filed a bug back in January about this: <> but it looks like it’s going nowhere fast. As usual, I’m out of the mainstream :wink:

Does anyone know a workaround for this bug? Some clients are starting to ask why my apps can’t behave correctly on Windows.

I just added that feedback case as my nr1 top case (75 points) . Hopefully that will at least elevate it somewhat on the list of things to look at for the Xojo team.