Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DARIAH-DE Aggregator Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DARIAH-DE
DARIAH-DE Aggregator Services
Commits
adc8430d
Commit
adc8430d
authored
11 years ago
by
Thorsten Vitt
Browse files
Options
Downloads
Patches
Plain Diff
reduced the resolver's logging level
parent
7a7b05c4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/info/textgrid/services/aggregator/html/TGUriResolver.java
+3
-3
3 additions, 3 deletions
...info/textgrid/services/aggregator/html/TGUriResolver.java
with
3 additions
and
3 deletions
src/main/java/info/textgrid/services/aggregator/html/TGUriResolver.java
+
3
−
3
View file @
adc8430d
...
...
@@ -48,7 +48,7 @@ public static boolean isResolveable(final URI uri) {
@Override
public
Source
resolve
(
final
String
href
,
final
String
base
)
throws
TransformerException
{
logger
.
in
fo
(
MessageFormat
.
format
(
logger
.
f
in
er
(
MessageFormat
.
format
(
"Trying to resolve href={0}, base={1}"
,
href
,
base
));
try
{
final
URI
uri
=
new
URI
(
href
).
resolve
(
base
);
...
...
@@ -64,11 +64,11 @@ public Source resolve(final String href, final String base) throws TransformerEx
resolved
.
append
(
'#'
).
append
(
uri
.
getFragment
());
}
final
URL
url
=
new
URL
(
resolved
.
toString
());
logger
.
log
(
Level
.
IN
FO
,
logger
.
log
(
Level
.
F
IN
ER
,
MessageFormat
.
format
(
"Resolved {0} to {1}"
,
uri
,
url
));
return
new
StreamSource
(
url
.
openStream
(),
href
);
}
else
{
logger
.
log
(
Level
.
IN
FO
,
"Did not resolve {0}"
,
uri
);
logger
.
log
(
Level
.
F
IN
ER
,
"Did not resolve {0}"
,
uri
);
return
null
;
}
}
catch
(
final
URISyntaxException
e
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment