Skip to content
Snippets Groups Projects
Commit 97558acc authored by L. Ellenbeck's avatar L. Ellenbeck
Browse files

WIP: exclude root path from logging coscine/issues#1221

parent d75c3d9a
No related branches found
No related tags found
1 merge request!25Update: Extending the Analytics Log
......@@ -178,7 +178,7 @@ namespace Coscine.Api.Tree.Controllers
))
);
if (CoscineLoggerConfiguration.IsLogLevelActivated(LogType.Analytics))
if (CoscineLoggerConfiguration.IsLogLevelActivated(LogType.Analytics) && path != "/")
{
LogAnalyticsViewMd(_projectResourceModel.GetProjectForResource(resource.Id).Value, resource.Id, path, user, GetMetadataCompleteness(metadataCount, resource));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment