문제

I deployed an osgi bundle on Domino server and some problem occurs, now I'm trying to locate the problem by check the log, but I cant't find where the log file is, I also tried log4j and configure the properities but still no log file generated. How can I do logging in osgi bundle on domino server.

도움이 되었습니까?

해결책

By default the logs should be in the folder:

<Domino Data Dir>\workspace\logs 

Or if using DOTS (requires OpenSocial add-on to be installed)

<Domino Data Dir>\workspace-dots\logs

The directory will contain Error and Trace XML files.

Also further logs can be in:

<Domino Data Dir>\IBM_TECHNICAL_SUPPORT

Enabling logging.

To enable your logging for the OSGi HTTP task you edit the following file.

<Domino Data Dir>\domino\workspace\.config\rcpinstall.properties

For OSGi DOTS task you edit the following file.

<Domino Data Dir>\domino\workspace-dots\.config\rcpinstall.properties

Both require a restart of the task after modifying.

What to add to the file

For the setting you would add the package, level tag and type of logging.

Example (enable full logging on com.my.package):

com.my.package.level=FINEST
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top