Skip to Content.
Sympa Menu

grouper-users - {Filename?} Re: [grouper-users] grouper_error.log : how disable DEBUG mode in this file

Subject: Grouper Users - Open Discussion List

List archive

{Filename?} Re: [grouper-users] grouper_error.log : how disable DEBUG mode in this file


Chronological Thread 
  • From: Mathieu HETRU <>
  • To: "" <>
  • Subject: {Filename?} Re: [grouper-users] grouper_error.log : how disable DEBUG mode in this file
  • Date: Sat, 8 Sep 2018 09:19:41 +0200
  • Ironport-phdr: 9a23:vIU9ihZU/fQ/yKaDA/cV8GH/LSx+4OfEezUN459isYplN5qZrsy5bnLW6fgltlLVR4KTs6sC17KJ9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa/bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjq66KdrVB7oiCkGNzEl6m7Xls1wjKVdoBm8oxBz3pLYbJ2IOPZge6/Qe84RS2hcUcZLTyFPH4OyYZUBD+QCM+hXoYbyqFkSohalAAmgGPnixyVUinL436A31fkqHwHc3AwnGtIDqHPao8/pNKcSUOC60rTIxijBYf1Zxznz9IbHeQ0mrPGJR71wbcrRyUgxGAPYlFmQqZLqPy+P1uQQqGWb8uxgVeOxi2I+rwFxozyvxsMyhYXTiIIV0EnJ+CNky4g7It24TVR0Yd+iEJZIqiGaMYp2Qt07T2FsuSY6zrkGtoChcCgE0pQqwQPUZf+fc4WQ/x7uUOmcLS1miH9ld7+znQu+/Vakx+HmWMS53k5GojdLn9TDrHwByQDf58mdRvZ/5EutxCiD2gbO4e9eO080j7DUK5s5z74wiJUTtUPDEzfzmET5kaOabFgk+u6p6+T5e7nmop6cN4twig7gKKgulNa/Dfw5MggIQWeb5fyx2KDn8ED2WrlGkP07n6bDvJzHO8gWorS1DgFb34o77hawFTam0NAWnXkdK1JFfQqKj43zNFHSIPD4DOmwg0m2nDdr2f/GIqfhAojWI3jelrfhfKh951dYyAoyydBf44xbBqsPIPLpQkPxrsDXDgclMwyoxObqENp91pkZWWKSGq+WLrnSvUaV5uI0PeaMfpQVtS35K/gk/P7ukWQ5lUEHcamo25sXdG63Hu5gI0qHfXrgnM0NHnkXsQojH6TWjwjIXiRUem6/Rech/TwhE6qnC5vOXIagnObH0SumVNUCaXpBF0iBCzL1bIieQN8Nbj6fOMlsjmZCWLS8HdwPzxar4Srz17pmI/ec2gAkj6+rgN18++3SmAx09TFoFdm1zmeMUSRwn2cMSnk4xvYs8gRG1l6f3P0j0LRjHttJ6qYQCl9jb5M=

ATTENTION: au moins une pièce jointe à ce message ne vous a pas été transmise (log4j.properties.ws). SVP lire la pièce jointe «AlerteVirus.txt» pour plus d'informations.

Hello,

i provide the 3 log4j.properties files (api, ui and ws) in the attached files.

Thanks for your help!

Mathieu


Université de Lille

Mathieu HETRU
Responsable du bureau ENT

Université de Lille - Campus Cité Scientifique
Direction des Systèmes d'Information
Service Intégration / Exploitation
Cellule ENT

Bureau 47 - Bâtiment A3
Domaine universitaire de la Cité Scientifique
Avenue Carl Von Limé
BP 90179 59653 Villeneuve d'Ascq

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

| www.univ-lille.fr
Le 08/09/2018 à 01:21, Mathieu HETRU a écrit :
Hello,

Thanks for your answer but i have seen the log4j.properties of Grouper API and Grouper WS and i have no DEBUG mode in these files...

But many jobs perl are connecting every hour on Grouper WS and i see many logs in grouper_error.log

:-/

Mathieu

Le 7 sept. 2018 à 20:27, Hyzer, Chris <> a écrit :

Edit your log4j.properties and don’t log to debug.  Note, check all instances of that file and bounce the jvm after changing it

 

Thanks

Chris

 

From: [] On Behalf Of Mathieu HETRU
Sent: Friday, September 07, 2018 2:07 PM
To:
Cc: dsi-referentiels <>; dsi-integration <>
Subject: [grouper-users] grouper_error.log : how disable DEBUG mode in this file

 

Hello,

I am using grouper version 2.3.0.

And my disk is quickly full, because the grouper_error.log full the disk...

In this file, i found some information like Hibernate transaction... and the logs are in DEBUG mode.

How can i disable the DEBUG mode in this file?

I am using Grouper API, Grouper UI and Grouper WS.

Thanks for your help!

Mathieu

--

Université de Lille

Mathieu HETRU
Responsable du bureau ENT

Université de Lille - Campus Cité Scientifique
Direction des Systèmes d'Information
Service Intégration / Exploitation
Cellule ENT

Bureau 47 - Bâtiment A3
Domaine universitaire de la Cité Scientifique
Avenue Carl Von Limé
BP 90179 59653 Villeneuve d'Ascq

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

| www.univ-lille.fr



#
# Copyright 2014 Internet2
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

#${grouper.home} will be substituted with the System property "grouper.home",
which must have a trailing \ or /
# depending on your OS. Of course you can use absolute paths if you prefer


#
# log4j Configuration
# $Id: log4j.example.properties,v 1.13 2009-12-18 13:56:51 tzeller Exp $
#

# Appenders

## Log messages to stderr
log4j.appender.grouper_stderr =
org.apache.log4j.ConsoleAppender
log4j.appender.grouper_stderr.Target = System.err
log4j.appender.grouper_stderr.layout =
org.apache.log4j.PatternLayout
log4j.appender.grouper_stderr.layout.ConversionPattern = %d{ISO8601}: [%t]
%-5p %C{1}.%M(%L) - %x - %m%n

## Log messages to stdout
log4j.appender.grouper_stdout =
org.apache.log4j.ConsoleAppender
log4j.appender.grouper_stdout.Target = System.out
log4j.appender.grouper_stdout.layout =
org.apache.log4j.PatternLayout
log4j.appender.grouper_stdout.layout.ConversionPattern = %d{ISO8601}: [%t]
%-5p %C{1}.%M(%L) - %x - %m%n

## Grouper API event logging
log4j.appender.grouper_event =
org.apache.log4j.DailyRollingFileAppender
log4j.appender.grouper_event.File =
/var/log/tomcat7/grouper_event.log
log4j.appender.grouper_event.DatePattern = '.'yyyy-MM-dd
log4j.appender.grouper_event.layout =
org.apache.log4j.PatternLayout
log4j.appender.grouper_event.layout.ConversionPattern = %d{ISO8601}: [%t]
%-5p %C{1}.%M(%L) - %x - %m%n

## Grouper API error logging
log4j.appender.grouper_error =
org.apache.log4j.DailyRollingFileAppender
log4j.appender.grouper_error.File =
/var/log/tomcat7/grouper_error.log
log4j.appender.grouper_error.DatePattern = '.'yyyy-MM-dd
log4j.appender.grouper_error.layout =
org.apache.log4j.PatternLayout
log4j.appender.grouper_error.layout.ConversionPattern = %d{ISO8601}: [%t]
%-5p %C{1}.%M(%L) - %x - %m%n
#log4j.appender.grouper_error.layout.ConversionPattern = %d{ISO8601}: %m%n

# Debug logging (Or: logging that I haven't cleaned up yet to send elsewhere)
log4j.appender.grouper_debug =
org.apache.log4j.RollingFileAppender
log4j.appender.grouper_debug.File =
/var/log/tomcat7/grouper_debug.log
log4j.appender.grouper_debug.MaxFileSize = 100KB
log4j.appender.grouper_debug.MaxBackupIndex = 1
log4j.appender.grouper_debug.layout =
org.apache.log4j.PatternLayout
#log4j.appender.grouper_debug.layout.ConversionPattern = %d{ISO8601} %5p
%c{2}: %m%n
log4j.appender.grouper_debug.layout.ConversionPattern = %d{ISO8601}: [%t]
%-5p %C{1}.%M(%L) - %x - %m%n

## Benchmark logging
log4j.appender.grouper_gb =
org.apache.log4j.RollingFileAppender
log4j.appender.grouper_gb.File =
/var/log/tomcat7/grouper_bench.log
log4j.appender.grouper_gb.MaxFileSize = 100KB
log4j.appender.grouper_gb.MaxBackupIndex = 1
log4j.appender.grouper_gb.layout =
org.apache.log4j.PatternLayout
#log4j.appender.grouper_gb.layout.ConversionPattern = %d{ISO8601} %5p
%c{2}: %m%n
log4j.appender.grouper_gb.layout.ConversionPattern = %d{ISO8601}: [%t]
%-5p %C{1}.%M(%L) - %x - %m%n

# Loggers

## Default logger; will log *everything*
log4j.rootLogger = ERROR, grouper_error

## All Internet2 (warn to grouper_error per default logger)
log4j.logger.edu.internet2.middleware = WARN


# Provisioning : PSP (version 2.1+)
log4j.logger.edu.internet2.middleware.psp = INFO

# Provisioning : vt-ldap
# log4j.logger.edu.vt.middleware.ldap = INFO

# Provisioning : Grouper plugin to Shibboleth attribute resolver
# log4j.logger.edu.internet2.middleware.grouper.shibboleth = INFO


# For more precise (or verbose) logging, enable one or more of the
# following logging directives. To remove duplicate entries, just change the
# level, and not where to send the logs
#
http://robertmarkbramprogrammer.blogspot.com/2007/06/log4j-duplicate-lines-in-output.html

## Grouper Event Logging
## * Logs at _info_ only
log4j.logger.edu.internet2.middleware.grouper.log.EventLog = INFO,
grouper_event
log4j.logger.edu.internet2.middleware.grouper.RegistryInstall = INFO,
grouper_event, grouper_stderr

## Grouper Error Logging
## * Logs at _warn_, _fatal_ and _error_ only (by default this is WARN due to
internet2 below)
#log4j.logger.edu.internet2.middleware.grouper = WARN,
grouper_error

## Grouper Debug Logging
## * NOTE: There is currently VERY LITTLE (useful) information sent to this.
## * Logs at _info_ only currently
#log4j.logger.edu.internet2.middleware.grouper = DEBUG,
grouper_debug
log4j.logger.edu.internet2.middleware.grouper = INFO, grouper_log

## Grouper XML Export + Import Logging
## TODO Integrate with normal logging
log4j.logger.edu.internet2.middleware.grouper.xml.XmlExporter =
INFO, grouper_event
log4j.logger.edu.internet2.middleware.grouper.xml.XmlImporter =
INFO, grouper_event

## Grouper Benchmark Logging
log4j.logger.edu.internet2.middleware.grouper.bench = INFO,
grouper_gb, grouper_stderr

## Grouper script to add missing group sets
log4j.logger.edu.internet2.middleware.grouper.misc.AddMissingGroupSets =
INFO, grouper_event

## Grouper Sync Point in Time Tables
log4j.logger.edu.internet2.middleware.grouper.misc.SyncPITTables = INFO,
grouper_event

## Grouper Sync Stem Set Table
log4j.logger.edu.internet2.middleware.grouper.misc.SyncStemSets = INFO,
grouper_event

## Grouper Migrate Legacy Attributes
log4j.logger.edu.internet2.middleware.grouper.misc.MigrateLegacyAttributes =
INFO, grouper_event

### Subject API
#log4j.logger.edu.internet2.middleware.subject = ERROR,
grouper_error
#log4j.logger.edu.internet2.middleware.subject.provider = ERROR,
grouper_error
### Hibernate
#log4j.logger.org.hibernate = ERROR,
grouper_error
### ehcache
#log4j.logger.net.sf.ehcache = ERROR,
grouper_error
### Spring
#log4j.logger.org.springframework = ERROR,
grouper_error

## Grouper Stress Testing
log4j.logger.edu.internet2.middleware.grouper.stress = INFO,
grouper_debug, grouper_stderr


#######################################################
##Optional settings for debug logs
#######################################################

## Hooks debug info
#log4j.logger.edu.internet2.middleware.grouper.hooks.examples.GroupTypeTupleIncludeExcludeHook
= DEBUG
#log4j.logger.edu.internet2.middleware.grouper.Group = DEBUG

#log4j.logger.edu.internet2.middleware.grouper.hooks.examples.GroupTypeSecurityHook
= DEBUG


# added by grouper-installer
log4j.logger.org.apache.tools.ant = WARN


## Grouper UdL event logging
log4j.appender.grouper_udl_event = org.apache.log4j.DailyRollingFileAppender
log4j.appender.grouper_udl_event.File = /var/log/tomcat7/grouper_udl_event.log
log4j.appender.grouper_udl_event.DatePattern = '.'yyyy-MM-dd
log4j.appender.grouper_udl_event.layout = org.apache.log4j.PatternLayout
log4j.appender.grouper_udl_event.layout.ConversionPattern = %d{ISO8601}: [%t]
%-5p %C{1}.%M(%L) - %x - %m%n

## eval UdL
log4j.logger.lille.grouper=INFO,grouper_udl_event
#log4j.logger.lille1.grouper.changeLog.UdlConsumer = INFO, grouper_udl_event

Attachment: log4j.properties.ui
Description: application/designer

Avertissement de la passerelle antivirus MailScanner
----------------------------------------------------

Les règles de sécurité de notre entreprise interdisent la
transmission de la pièce jointe «log4j.properties.ws».

Celle-ci a été remplacée par cet avertissement.

La pièce jointe n'a pas été conservée sur la passerelle.

Résultats de l'antivirus:
MailScanner: Dangerous attachment according to Microsoft Q883260
(log4j.properties.ws)


Contactez

pour plus d'informations.

--
MailScanner
Université de Lille
www.univ-lille.fr





Archive powered by MHonArc 2.6.19.

Top of Page