Product: UNO Development Kit / Component Technology
          Type: new
         Title: Logger component
     Posted by: [email protected]
      Affected: cppu
         TaskId: i103030
<http://www.openoffice.org/issues/show_bug.cgi?id=103030>
Effective from: dba32e
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/dba32e>
    CWS status: new


*Flags*
-------
API/ BASIC [ ]
Configuration [ ]
File format change [ ]
Help/ Guide [ ]
Performance test [ ]
Translation [ ]
UI relevant [ ]


*Description*
-------------
To enable the logging per component service name, one new environment
variable has to defined which allows to control logging without to
change any code.
The variable is named UNO_ENV_LOG and can contain multiple component
names separated by ; (semicolon) like 
export UNO_ENV_LOG=com.sun.star.sdbcx.comp.hsqldb.Driver

Additionally the RTL_LOGFILE has to be defined as well, explanation
can be found here
(http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/sal/inc/rtl/logfile.hxx#39)

And the definition of a purpose environment can be looked at
http://wiki.services.openoffice.org/wiki/Uno/Spec/Purpose_Environment

Wiki docu can be found here
http://wiki.services.openoffice.org/wiki/Uno/Spec/Log_Environment

*Specification URL*
-------------------
http://wiki.services.openoffice.org/wiki/Uno/Spec/Log_Environment


Send feedback to [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to