Quantcast
Channel: Customized Commerce 13 and earlier versions
Viewing all articles
Browse latest Browse all 9642

CMS 10.10.4 with Relate logging not working

$
0
0

I have a CMS 10.10.4 site that uses Relate (Community) where the logging is configured and the file is created but nothing is written to the file regardless of the logging level and even if I deliberately throw an error.

I have spun up a sample alloy tech site in version 10.0.1 and with no configuration the logging is working in this sample site as expected - it creates the file and logs to the file.

I've compared the config of the two sites to make sure they are the same and as far as I can tell they are.

The content of EPiServerLog.config is the same in both sites.

The Relate site that's not working does have a separate custom logging solution but I have commented this out in case it was causing conflicts and still not working.

The only difference in the Relate site config is that I have these entries in appSettings, if I comment these out then the files are not generated. Note these are not present in the alloy site which is working
    <!-- add these entries to configure log4net -->
    <add key="log4net.Config" value="EPiServerLog.config"/>
    <add key="log4net.Config.Watch" value="True"/>

Both sites are using version 2.1.0 of EPiServer.Logging.Log4Net

Alloy is using version 1.2.13 of log4net and the Relate site is using 1.2.10

I guess it could be the use of Relate?

Note: I can't upgrade the Relate site as it's using Relate and on premise Find

Any thoughts or suggestions greatly appreciated...


Viewing all articles
Browse latest Browse all 9642

Trending Articles