cancel
Showing results for 
Search instead for 
Did you mean: 

Single file custom logging for portal service in 7.31

former_member182374
Active Contributor
0 Kudos

Hello Experts,

I have a portal service.
The service writes sensitive data to the DB and therefore I need tracing mechanism.

Until now I've used a custom txt file but now I want to use the SAP J2EE logging infrastructure (for performance, identifying user sessions etc...)

Since the severity of the messages will be set to 'info' I don't want to write the log entries to 'defaultTrace.trc', I want to write it to a custom file.

I'm aware of 'ForceSingleTraceFile' parameter but where can I set the logging properties? (in older portals I could use logger.xml in my portal component project and set a custom log file but as far as I understand 'logger.xml' is not supported anymore and its parameters are ignored).

Where can I find the documentation for setting logging properties for portal service in 7.31?

J2EE/Portal version is 7.31 SP7.

Regards,
Omri

Accepted Solutions (1)

Accepted Solutions (1)

christian_santej
Active Participant
0 Kudos

hi omri,

please have a look at this documentation (SpecificDestinationLogControllers - http://help.sap.com/saphelp_nw73ehp1/helpdata/de/2b/09343e32ff1033e10000000a114084/frameset.htm)

regards,

christian

former_member182374
Active Contributor
0 Kudos

Thanks Christian.

Your answer combined with this WIKI: How to create own log files on a SAP NetWeaver AS Java 7.3 and higher - CRM - SCN Wiki solved my problem.

Regards,

Omri

Answers (0)