Task #9104

data.d4science: remove rootLogger inside webapps

Added by Roberto Cirillo about 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:Jun 28, 2017
Priority:NormalDue date:
Assignee:Francesco Mangiacrapa% Done:

100%

Category:Application
Sprint:UnSprintable
Infrastructure:Development, Pre-Production
Milestones:
Duration:

Description

In order to have only one log4j properties definition on the following hosts:

data1-d4s.d4science.org
data2-d4s.d4science.org
data-d.d4science.org

It's needed to remove the log4j file properties from the following webapps:

uri-resolver
tree
gis-viewer-app
workspace-explorer-app

After that, I'm going to configure a single log4j.properties file under tomcat.


Related issues

Related to gCube - Release #9137: org.gcube.portlets-user.workspace-explorer-app.1-0-1 Released Jul 04, 2017
Related to gCube - Release #9138: org.gcube.portlets-user.gis-viewer-app.1-5-1 Released Jul 04, 2017
Related to gCube - Release #9139: org.gcube.data-transfer.uri-resolver.1-13-0 Released Jul 04, 2017

History

#1 Updated by Francesco Mangiacrapa about 2 years ago

  • Status changed from New to In Progress

#2 Updated by Francesco Mangiacrapa about 2 years ago

  • % Done changed from 0 to 70

The file log4j.properties has been removed for:

uri-resolver RN: 150699 pom version updated at 1.13.0
gis-viewer-app RN: 150701 pom version updated at 1.5.1
workspace-explorer-app RN: 150705 pom version updated at 1.0.1

#3 Updated by Francesco Mangiacrapa about 2 years ago

  • % Done changed from 70 to 100

@roberto.cirillo@isti.cnr.it I just deployed the applications reported above (uri-resolver, gis-viewer-app and workspace-explorer-apap) on data-d.
In this way the file log4j.properties has been removed everywhere, so if you want perform some tests you can do them.
I'm not the manager of the application named "tree", anyway It is not present on data-d and for me it can be updated directly on svn branch (removing the file log4j.properties) and releasing it from there.

I will release all applications listed above asa ETICS will be available again :-) At the moment it is very slow.

#4 Updated by Francesco Mangiacrapa about 2 years ago

  • Related to Release #9137: org.gcube.portlets-user.workspace-explorer-app.1-0-1 added

#5 Updated by Francesco Mangiacrapa about 2 years ago

  • Related to Release #9138: org.gcube.portlets-user.gis-viewer-app.1-5-1 added

#6 Updated by Francesco Mangiacrapa about 2 years ago

  • Related to Release #9139: org.gcube.data-transfer.uri-resolver.1-13-0 added

#7 Updated by Francesco Mangiacrapa about 2 years ago

  • Status changed from In Progress to Paused

#8 Updated by Roberto Cirillo about 2 years ago

  • Status changed from Paused to Closed

I've deployed the new apps on data-d.d4science.org and configured a single log4j.properties under tomcat. Now it works well.

#9 Updated by Andrea Dell'Amico about 2 years ago

I forgot to tell you that you need to set the variable:

tomcat_install_the_log4j_properties: False

Otherwise the next playbook run will reinstall the log4j.properties file from the playbook's template.

#10 Updated by Roberto Cirillo about 2 years ago

Andrea Dell'Amico wrote:

I forgot to tell you that you need to set the variable:

tomcat_install_the_log4j_properties: False

Otherwise the next playbook run will reinstall the log4j.properties file from the playbook's template.

OK Thanks. I'm going to add the variable on both "data" and "data_dev" roles.

Also available in: Atom PDF