Logging to file seems broken - 9.2 R7

Hello,

We recently updated all customers we host to SuperOffice 9.2 R7, when we first saw that no errors related to XSRF issues/threat aborted were being logged, we saw it as a good sign, but after a while we didn't saw any error being logged which is a bit strange. I enabled "LogWarning" and "LogInformation" on a test environment which we already upgraded to 9.2 R7 and the only log file being created was from the CDD component.

As test I installed a SuperOffice enviroment with version 9.2 R3 and enabled "LogWarning" and "LogInformation", log file was created correctly in the log folder. Next I upgraded the environment to 9.2 R7, after that no logs are created anymore, even when I enable options like "EnableScaffolding" or "LogServiceCalls".

Note: When I enabled "LogToEventLog" there are log entry's created in the event log.

 

 

RE: Logging to file seems broken - 9.2 R7

Hi David,

Have you reported this as a potential bug to our support? I'm interested in following the feedback on this as I'm just about to make a major install of SO 9.2 R07 onsite at a customer.

/Marcus

Av: Marcus Svenningsson 4. maj 2021

RE: Logging to file seems broken - 9.2 R7

Yes,

See SOS ID 3114074, no bug id has been assigned yet.

Av: David Hollegien 4. maj 2021

RE: Logging to file seems broken - 9.2 R7

Bug ID has been assigned Logfiles do not get generated in 9.2 R7

Could an hotfix/patch be releases for this? This a serious issue since it prevents any debug/issue resolution. In the email for my bug report a workaround was suggested to enable logging to the event log, but that doesn't work when you have multiple SuperOffice environments on the same server. (No way to differentiate between logs from different environments)

Av: David Hollegien 5. maj 2021

RE: Logging to file seems broken - 9.2 R7

Thanks for the info David. I also find this bug quite urgent to fix.

Av: Marcus Svenningsson 5. maj 2021

RE: Logging to file seems broken - 9.2 R7

Any update on this? Is an hotfix/patch going to be released for 9.2 R7 or do we need to wait until the release 9.2 R8? We have a few migrations planned but will need to postpone if this isn't going to be fixed in the 9.2 R7 release.

Av: David Hollegien 6. maj 2021

RE: Logging to file seems broken - 9.2 R7

Bug 13279

We re-built the logging infrastructure to use the new ILogger interfaces from Microsoft, so that you can now plug in Serilog or similar standard loggers instead of just using the simple file logger we built long ago.

Unfortunately the new logger DLLs didn't get deployed to the output folder when we moved our build system to the cloud. 

Given that these are plugins rather than baked into NetServer now, it's a matter of dropping the DLLs into the bin folder to get logging that you want.

We have a SuperOffice logger that writes to file as before, and a Serilog based logger that you can extend with all sorts of sinks to log to databases, cloud services, consoles, etc.

Av: Christian Mogensen 6. maj 2021

RE: Logging to file seems broken - 9.2 R7

Thanks for the insight Christian! Could those DLL's be provided separately so we can drop them in the bin folder and get logging working again?

Av: David Hollegien 6. maj 2021

RE: Logging to file seems broken - 9.2 R7

Christian: I'm also interested in those DLL-files. :)

/Marcus

Av: Marcus Svenningsson 6. maj 2021

RE: Logging to file seems broken - 9.2 R7

We finally have more information about NetServer logging. Understand that the destination of that link is a work in progress not yet announced. Yes, we know it looks unfinished and doesn't have a search... working on it - don't ask! ;-) 

We'll look into including SuperOffice.Logging.dll in future nuget NetServer core packages.

Best regards!

Av: Tony Yates 12. maj 2021

RE: Logging to file seems broken - 9.2 R7

New docs site is looking good Tony!

Av: David Hollegien 14. maj 2021