Skip to Content.
Sympa Menu

grouper-users - [grouper-users] grouperInstaller admin tool helps you find your grouper logs

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] grouperInstaller admin tool helps you find your grouper logs


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: " Mailing List" <>
  • Subject: [grouper-users] grouperInstaller admin tool helps you find your grouper logs
  • Date: Sun, 27 Nov 2016 23:00:43 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:WEk7TBfx4/jRPZGuSXAdLkDilGMj4u6mDksu8pMizoh2WeGdxcW/ZR7h7PlgxGXEQZ/co6odzbGH6Oa7BSdZvM/JmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBu7oR/fu8QZjoduN6Y8xgbUqXZUZupawn9lK0iOlBjm/Mew+5Bj8yVUu/0/8sNLTLv3caclQ7FGFToqK2866tHluhnFVguP+2ATUn4KnRpSAgjK9w/1U5HsuSbnrOV92S2aPcrrTbAoXDmp8qlmRAP0hCoBKjU09nzchM5tg6JBuB+vpwJxzZPIYI+bN/R+f7/SctwBSGVbQspdSzZMDp+gY4cRCecKIOZWr5P6p1sLtRayCwuiBePuyzBWnH/6xbAx3vohEQHc3QwgBNwCu2nTodXwKKgSUeC0zajWwjXZdP5W2Cz955TSfhA8ufGDQ7RwcczLxUYxCgzFk0ydpIr4ND2b0eQNtnKU7+tmVe+3im4nrR1xrSa1xscqlIbJmpwZxkra+ipk3YY4I8CzRk1jYdO8DpdfrT2WO5ZzT88/Xm1kpSM3yrMJtJKnYCQHzZYqyADQZvGHdoWF5wzvWPqNLTtgmX5odq6ziwy2/ES90OHwSNS43VJQoiZYkNTBt3YA3AHJ5MedUPty5EKh1C6P1w/N7uFEJlg5m7LHJpAm3rI8iIMfvFrBESPrgUn2i7SZeVs+9uiv9uTnfq7pppiBN49ylw7yKLwumta4AeQkLAcBQ3Sb+eW71L3l50H5R6hKjuEykqnet5DaJt4XqbK+Aw9Qyooj6hC/ACm60NkAg3UINk5JdA+CgoT0Jl3CPfX1DfmwjliwjDtmwvLLMaPuD5jNK3XOlantcaph50JEzQo819Ff55ZaCrEbJ/LzX1f8tNnEAR85Mw21wvjoCM9m24MfQmKAHrWVML7KsVCW4OIvJfOAa5EItzbgM/Ql/eLhjWclmV8BeqmkxZQXaGq/HvR7O0WWf2Dsjs4cEWcRoAU+VvfqhUaGUT5SfHayQ7k86i8hBIKnC4fDWp6igKaH3CilAp1aeHpKBU6RHnf1JM24XKJGZziVP9dsiHkZTrW7UKcg0w2jrgn31+AhI+bJsggRtJbi0tc9w+zIiVt6oTNuCNmF3nvIUnp5hHggRjkq0bp5rFAnjFqPzP4rreZfEIkZx+JbXx1+fbXc1e1hQZimXwnBb8WEUn6nWd7gHCk8SNR3ztMTNRUuU+6+hwzOinL5S4QekKaGUcQ5
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

There is an admin tool in the grouperInstaller that helps you find your grouper logs.  This is for beginners to Grouper / Java / Tomcat.

 

https://spaces.internet2.edu/display/Grouper/Grouper+installer+admin+tool#Grouperinstalleradmintool-Admin-Manage-Logs

 

Here is an example to help find your UI logs:

 

[appadmin@i2midev1 patchesAuto]$ java -jar grouperInstaller.jar

Do you want to 'install' a new installation of grouper, 'upgrade' an existing installation,

  'patch' an existing installation, 'admin' utilities, or 'createPatch' for Grouper developers

  (enter: 'install', 'upgrade', 'patch', 'admin', 'createPatch' or blank for the default) [install]: admin

What admin action do you want to do (manage, upgradeTask)? : manage

Enter in the Grouper install directory (note: better if no spaces or special chars) [/opt/grouper/2.3/patchesAuto]: /opt/tomcats/tomcat_f

What do you want to manage (logs, services, back, exit)? : logs

What do you want to look at logs for?  api, ui, ws, pspng, or psp? [api]: ui

Find where the application is running, then find the log4j.properties in the classpath.

Tomcat logs STDOUT and STDERR to the catalinaErr.log and catalinaOut.log logfiles, which should be here: /opt/tomcats/tomcat_f/logs

Locate the UI application files.

By default the installer has the UI running based on the tomcat server.xml, but could also run in the webapps dir.

The server.xml is located: /opt/tomcats/tomcat_f/conf/server.xml

What is the URL starting path? [grouper]: grouper_v2_3

Looking for an entry in the server.xml that looks like this:

  <Context docBase="/opt/tomcats/tomcat_f/grouper.ui-2.3.0/dist/grouper" path="/grouper_v2_3" reloadable="false"/>

The docBase could not be found in the server.xml, check in the tomcat/webapps directory

The log4j.properties is located in: /opt/tomcats/tomcat_f/webapps/grouper_v2_3/WEB-INF/classes/log4j.properties

Examine the log4j.properties to see where it is logging

Generally the log4j.rootLogger property shows where logs go, it is set to: ERROR, grouper_error

The log4j.rootLogger property in log4j.properties is set to: grouper_error

There is a property in log4j.properties: log4j.appender.grouper_error.File = /opt/tomcats/tomcat_f/logs/grouper_v2_3/grouper_error.log

Grouper log should be: /opt/tomcats/tomcat_f/logs/grouper_v2_3/grouper_error.log

Press <enter> to continue.

 

What do you want to manage (logs, services, back, exit)? : exit

[appadmin@i2midev1 patchesAuto]$

 

 

Thanks

Chris



  • [grouper-users] grouperInstaller admin tool helps you find your grouper logs, Hyzer, Chris, 11/27/2016

Archive powered by MHonArc 2.6.19.

Top of Page