diff --git a/src/main/resources/log4j.properties b/src/main/resources/log4j.properties new file mode 100644 index 0000000..2532c53 --- /dev/null +++ b/src/main/resources/log4j.properties @@ -0,0 +1,32 @@ +# Created by Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it + +# Set root category priority to ERROR and its only appender to LOGFILE. +log4j.rootCategory=ERROR, LOGFILE + +log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender +log4j.appender.LOGFILE.MaxFileSize=25MB +log4j.appender.LOGFILE.MaxBackupIndex=10 +log4j.appender.LOGFILE.File=logs/workspace-explorer-app.log +log4j.appender.LOGFILE.Append=true +log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout +log4j.appender.LOGFILE.layout.ConversionPattern=[%-5p] %d %c - %m%n +#log4j.category.org.gcube=TRACE,A1 + +##GCube +log4j.category.org.gcube=ERROR, LOGFILE +log4j.additivity.org.gcube=false + +##HomeLibrary +log4j.logger.org.gcube.portlets.user.homelibrary=INFO + +###MongoLog +log4j.logger.com.mongodb=SEVERE, LOGFILE + +##UriResolver +log4j.logger.org.gcube.datatransfer.resolver=DEBUG + +##Storage +log4j.logger.org.gcube.contentmanager=INFO + +##WorkspaceExplorerApp +log4j.logger.org.gcube.portlets.user.workspaceexplorerapp=DEBUG \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 3d23d15..56f4f5e 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -3,9 +3,6 @@ xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> - - WorkspaceExplorerApp.html - scope for using HL scope