grouper-users - RE: [grouper-users] Re: Questions about Grouper logging
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Baron Fujimoto <>, Grouper Users <>
- Subject: RE: [grouper-users] Re: Questions about Grouper logging
- Date: Wed, 9 Sep 2015 13:16:01 +0000
- Accept-language: en-US
Is that in each log4j.properties that specifies the log file name?
-----Original Message-----
From:
[mailto:]
On Behalf Of Baron Fujimoto
Sent: Wednesday, September 02, 2015 3:49 PM
To: Grouper Users
Subject: Re: [grouper-users] Re: Questions about Grouper logging
I've made some progress: each component appears to be logging successfully.
The log4j.properties config file for each component had to be placed in the
following directories:
grouper-api/conf/log4j.properties
grouper-ui/log4j.properties
grouper-ws/grouper-ws/log4j.properties
It still isn't clear to me how/where grouper.home is defined for each
component, so logfiles have been set with absolute paths.
Each component's log4j.properties file was based off of the provided
sample grouper-api/conf/log4j.example.properties where each of
log4j.appender.grouper_event.File
log4j.appender.grouper_error.File
log4j.appender.grouper_debug.File
was set to go to a logfile dedicated for that component. E.g.:
logs/grouper-api.log
logs/grouper-ui_event.log
logs/grouper-ws.log
However, everything logged (api, ui, ws) is going to grouper-api.log.
How do I differentiate the output for each component? It's not clear
from looking at the subset in grouper-ui/log4j.template.properties
what the relevant properties are. I must be missing something though.
Aloha,
-baron
On Thu, Aug 27, 2015 at 01:33:40AM -0400, Chris Hyzer wrote:
>Yes, You can (and i think should) log each app to it's own log file. Each
>one has it's own log4j.properties. It's either in the webapps dir or the
>place where you configure tomcat to get the app from in sever.xml. Stdout
>will print out where it gets it from on grouper start up
>
>log4j.properties read from:
>C:\temp\grouperInstaller\grouper.apiBinary-2.0.2\conf\log4j.properties
>
>Thanks Chris
>
><div>-------- Original message --------</div><div>From: Baron Fujimoto
><>
> </div><div>Date:08/26/2015 8:14 PM (GMT-05:00) </div><div>To: Grouper
>Users
><>
> </div><div>Subject: [grouper-users] Re: Questions about Grouper logging
></div><div>
></div>Also happy to RTFM if I've overlooked this info somewhere and someone
>points
>me to it...
>
>On Tue, Aug 25, 2015 at 06:29:08PM -1000, Baron Fujimoto wrote:
>>I have some (stupid, I fear) questions about configuring Grouper's logging.
>>
>>I have a directory hierarchy that looks like
>>grouper/
>> grouper-api/
>> grouper-ui/
>> grouper-ws/
>> logs/
>> grouper-api/
>> grouper-ui/
>> grouper-ws/
>>
>>To facilitate troubleshooting, I'd like to be able to have each grouper
>>component log to their respective log dirs. E.g.:
>> grouper/logs/grouper-api/
>> grouper/logs/grouper-ui/
>> grouper/logs/grouper-ws/
>>
>>When I ran the installer interactively, I was prompted for the location
>>of the grouper-ui and grouper-ws log dirs. This mostly seemed to do what
>>I wanted. However, the installer installs tomcat 6.35, and we're using
>>tomcat 8. I think after I cut the grouper apps over to run under our
>>tomcat 8 instance, I noticed it was no longer logging to those originally
>>specified log dirs.
>>
>>I see there's a grouper-api/conf/log4j.properties, and a
>>grouper-ui/log4j.template.properties, but no log4j files under
>>grouper-ws. Can each component get its own log4j/properties file?
>>If so, do they go in their respective /conf dirs (the grouper-ui
>>template isn't in the conf dir, for example)?
>>
>>Where is grouper.home defined? Is it the same for each component?
>>
>>Aloha,
>>-baron
>>--
>>Baron Fujimoto
>><>
>> :: UH Information Technology Services
>>minutas cantorum, minutas balorum, minutas carboratum desendus pantorum
--
Baron Fujimoto
<>
:: UH Information Technology Services
minutas cantorum, minutas balorum, minutas carboratum desendus pantorum
- Re: [grouper-users] Re: Questions about Grouper logging, Baron Fujimoto, 09/02/2015
- Re: [grouper-users] Re: Questions about Grouper logging, Vivek Sachdeva, 09/02/2015
- RE: [grouper-users] Re: Questions about Grouper logging, Chris Hyzer, 09/09/2015
- Re: [grouper-users] Re: Questions about Grouper logging, Baron Fujimoto, 09/09/2015
- RE: [grouper-users] Re: Questions about Grouper logging, Chris Hyzer, 09/09/2015
- Re: [grouper-users] Re: Questions about Grouper logging, Baron Fujimoto, 09/09/2015
- RE: [grouper-users] Re: Questions about Grouper logging, Chris Hyzer, 09/09/2015
- Re: [grouper-users] Re: Questions about Grouper logging, Baron Fujimoto, 09/10/2015
- RE: [grouper-users] Re: Questions about Grouper logging, Chris Hyzer, 09/10/2015
- Re: [grouper-users] Re: Questions about Grouper logging, Baron Fujimoto, 09/10/2015
- Re: [grouper-users] Re: Questions about Grouper logging, Baron Fujimoto, 09/10/2015
- RE: [grouper-users] Re: Questions about Grouper logging, Chris Hyzer, 09/09/2015
- Re: [grouper-users] Re: Questions about Grouper logging, Baron Fujimoto, 09/09/2015
- RE: [grouper-users] Re: Questions about Grouper logging, Chris Hyzer, 09/09/2015
- Re: [grouper-users] Re: Questions about Grouper logging, Baron Fujimoto, 09/09/2015
Archive powered by MHonArc 2.6.16.