[lsc-changes] [Ldap Synchronization Connector (LSC)] page changed: documentation:configuration:log4j

webmaster at lsc-project.org webmaster at lsc-project.org
Sun Nov 29 15:56:57 CET 2009


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2009/11/29 15:56
Browser     : Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
IP-Address  : 88.164.187.72
Hostname    : grenelle.phillipoux.net
Old Revision: http://lsc-project.org/wiki/documentation/configuration/log4j?rev=1248197984
New Revision: http://lsc-project.org/wiki/documentation/configuration/log4j
Edit Summary: 
User        : rschermesser

@@ -18,8 +18,9 @@
  log4j.appender.LSC_CSV.layout.attrs = \
      dn;uid;sn;givenName;description;cn;mail;;objectClass;userAccountControl
  log4j.appender.LSC_CSV.layout.separator = ;
  log4j.appender.LSC_CSV.layout.outputHeader = true
+ log4j.appender.LSC_CSV.layout.taskNames = MyTask
  </code>
  
  Use the //org.apache.log4j.FileAppender// or any subclass as an appender.
  Specify the path to the csv file you want to write to in //log4j.appender.LSC_CSV.file//.
@@ -29,8 +30,9 @@
    - **logOperation** : which actions you want to log (create, update, delete, modrdn). You can specify multiple actions by grouping them with commas ','.
    - **separator** : which separator you want to use in the output (default a semi-colon **;**)
    - **attrs** : which attributes you want to write. The attributes MUST be separated by the property **separator**. You can specifiy empty columns if you want to.
    - **outputHeader** : true or false. This will print the "attrs" option before outputting any data lines - thus your CSV file can have a standard header.
+   - **taskNames** : a coma separated list of tasks you want to output in CSV
  
  **Note:** The special attribute name "dn" can be used to output the entry's distinguishedName.
  
  You can specify multiple loggers using the same layout and different options. For example, you can specify 4 loggers, one for each actions.



-- 
This mail was generated by DokuWiki at
http://lsc-project.org/wiki/



More information about the lsc-changes mailing list