Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xwiki-platform
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
XWiki
xwiki-platform
Commits
339ce282
Commit
339ce282
authored
3 years ago
by
Vincent Massol
Browse files
Options
Downloads
Patches
Plain Diff
[Misc] Fix error message + try to get more information about the location when it happens
parent
b31b0390
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-docker/src/main/java/org/xwiki/test/docker/internal/junit5/servletengine/ServletContainerExecutor.java
+2
-1
2 additions, 1 deletion
...ternal/junit5/servletengine/ServletContainerExecutor.java
with
2 additions
and
1 deletion
xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-docker/src/main/java/org/xwiki/test/docker/internal/junit5/servletengine/ServletContainerExecutor.java
+
2
−
1
View file @
339ce282
...
...
@@ -171,7 +171,8 @@ private void configureTomcat(File sourceWARDirectory) throws Exception
// Configure Tomcat logging for debugging. Create a logging.properties file
File
logFile
=
new
File
(
sourceWARDirectory
,
"WEB-INF/classes/logging.properties"
);
if
(!
logFile
.
createNewFile
())
{
throw
new
Exception
(
String
.
format
(
"Failed to create logging configuration file at [%s]"
,
logFile
));
throw
new
Exception
(
String
.
format
(
"Logging configuration file already exists at [%s]"
,
logFile
.
getAbsoluteFile
()));
}
try
(
FileWriter
writer
=
new
FileWriter
(
logFile
))
{
IOUtils
.
write
(
"org.apache.catalina.core.ContainerBase.[Catalina].level = FINE\n"
...
...
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