Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SERV-909] Update metadata updating #238

Merged
merged 2 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,10 @@ private Metadata updateMetadata(final Metadata aMetadata, final String... aStrin
metadata.add(entry);
} // If label matches but we have no updated value, ignore the metadata
}
} else {
for (int index = 0; index < aStringArray.length / 2; index += 2) {
DRickard marked this conversation as resolved.
Show resolved Hide resolved
metadata.add(aStringArray[index], aStringArray[index + 1]);
}
}

return metadata;
Expand Down
11 changes: 10 additions & 1 deletion src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false">
<property file="/etc/fester/fester.properties" />

Expand Down Expand Up @@ -32,6 +32,15 @@
</if>
</logger>

<logger name="info.freelibrary.iiif.presentation.v2.ServiceImage" level="ERROR">
<appender-ref ref="STDOUT" />
<if condition='property("fluency.enabled").equals("true")'>
<then>
<appender-ref ref="FLUENCY" />
</then>
</if>
</logger>

<!-- Loggers for our application -->
<logger name="edu.ucla.library.iiif.fester" level="${logLevel}" additivity="true">
<appender-ref ref="STDOUT" />
Expand Down
Loading