Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Commits
90261b3f
Commit
90261b3f
authored
12 years ago
by
Julian Hochstetter
Browse files
Options
Downloads
Patches
Plain Diff
switch over to log4j
add servlet-api as provided dependency
parent
72f6e48f
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pom.xml
+12
-1
12 additions, 1 deletion
pom.xml
src/main/resources/log4j.properties
+7
-0
7 additions, 0 deletions
src/main/resources/log4j.properties
src/main/webapp/WEB-INF/web.xml
+8
-1
8 additions, 1 deletion
src/main/webapp/WEB-INF/web.xml
with
27 additions
and
2 deletions
pom.xml
+
12
−
1
View file @
90261b3f
...
...
@@ -88,14 +88,25 @@
</dependency>
<dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-
simple
</artifactId>
<artifactId>
slf4j-
log4j12
</artifactId>
<version>
1.6.6
</version>
</dependency>
<dependency>
<groupId>
log4j
</groupId>
<artifactId>
log4j
</artifactId>
<version>
1.2.16
</version>
</dependency>
<dependency>
<groupId>
couchdb4j
</groupId>
<artifactId>
couchdb4j
</artifactId>
<version>
0.3.0-i386-1
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
<version>
2.5
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
<build>
<plugins>
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/log4j.properties
0 → 100644
+
7
−
0
View file @
90261b3f
log4j.rootCategory
=
INFO, stdout
log4j.appender.stdout
=
org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout
=
org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern
=
%d{ABSOLUTE} %5p %t %c{2}:%L - %m%n
log4j.category.org.springframework.beans.factory
=
DEBUG
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/web.xml
+
8
−
1
View file @
90261b3f
...
...
@@ -10,9 +10,16 @@
/WEB-INF/spring/spring-security.xml
</param-value>
</context-param>
<context-param>
<param-name>
log4jConfigLocation
</param-name>
<param-value>
/WEB-INF/classes/log4j.properties
</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.util.Log4jConfigListener
</listener-class>
</listener>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
</listener>
<servlet>
<servlet-name>
arsnova
</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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