So we've got a site that spams umbraco trace log with the following warnings multiple times a second, that causes huge log files.
I've been searching a bit, but with no luck to explain why this might be.
Umbraco: 7.5.6
Anyone got any ideas?
Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Dropping property "_Deleted" because it does not belong to the content type.
Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Dropping property "parentNodeName" because it does not belong to the content type.
Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Dropping property "parentNodeTypeAlias" because it does not belong to the content type.
I have the same problem on an Umbraco 7.5.4 website (large website with nearly 180,000 items in the index), the daily log files are over 3GB because of it.
I am also having other issues with the Examine indexes (items not updating correctly in the index) so this is making it difficult to search the log files for errors and I also want to be sure this is not actually part of the problem I am investigating.
However I am not sure that would help in this instance as all of these message are "WARN" anyway as follows:
2019-11-28 11:41:06,348 [P10412/D2/T66] WARN Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Dropping property "articleDate" because it does not belong to the content type.
2019-11-28 11:41:06,348 [P10412/D2/T66] WARN Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Dropping property "heading" because it does not belong to the content type.
2019-11-28 11:41:06,348 [P10412/D2/T66] WARN Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Dropping property "headingFormatted" because it does not belong to the content type.
If you look at the warnings it seems as though there could be a mismatch between the content type model and what the user is entering in Umbraco backoffice (bit of a guess). For instance the property "articleDate" entered is not saved to the node "because it does not belong to the content type".
What models builder mode are you using?
BUT, if you just want to get rid of these in the log you could set level to "ERROR" (not recommended though as you really should fix the problem).
If you are referring to the following for models builder, you will see it is turned off, we had massive issues with the website intermittently going offline completely for no reason which we had to raise a support call with Microsoft about and it was narrowed down to a bug with the models builder (I think with this particular version of Umbraco) therefore the only solution (apart from upgrading which would take a very long time with such a complex site) was to turn models builder off completely:
Just to clarify, I do not want to hide the issue, I would like to resolve it especially if it is having any adverse affect on the website and could potentially be related to the problems we are having rebuilding the index.
Trace log getting spammed by PublishedMediaCache
Hi
So we've got a site that spams umbraco trace log with the following warnings multiple times a second, that causes huge log files.
I've been searching a bit, but with no luck to explain why this might be.
Umbraco: 7.5.6
Anyone got any ideas?
Hi Christian,
Did you ever get to the bottom of this issue?
I have the same problem on an Umbraco 7.5.4 website (large website with nearly 180,000 items in the index), the daily log files are over 3GB because of it.
I am also having other issues with the Examine indexes (items not updating correctly in the index) so this is making it difficult to search the log files for errors and I also want to be sure this is not actually part of the problem I am investigating.
You're talking about UmbracoTraceLog file? What log level do you have set in log4net.config?
Regards, Magnus
Hi Magnus,
Are you referring to this part?
This setting for development:
Should in most cases be this in production:
Regards, Magnus
Currently I have the following setting:
However I am not sure that would help in this instance as all of these message are "WARN" anyway as follows:
If you look at the warnings it seems as though there could be a mismatch between the content type model and what the user is entering in Umbraco backoffice (bit of a guess). For instance the property "articleDate" entered is not saved to the node "because it does not belong to the content type".
What models builder mode are you using?
BUT, if you just want to get rid of these in the log you could set level to "ERROR" (not recommended though as you really should fix the problem).
Regards, Magnus
If you are referring to the following for models builder, you will see it is turned off, we had massive issues with the website intermittently going offline completely for no reason which we had to raise a support call with Microsoft about and it was narrowed down to a bug with the models builder (I think with this particular version of Umbraco) therefore the only solution (apart from upgrading which would take a very long time with such a complex site) was to turn models builder off completely:
Just to clarify, I do not want to hide the issue, I would like to resolve it especially if it is having any adverse affect on the website and could potentially be related to the problems we are having rebuilding the index.
is working on a reply...