Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to enable logging in a custom policy

I want to see the output for my custom policy. How can I do that?

Can the output be redirected to the ramDebug.log?

0 votes



One answer

Permanent link
You can use Log4j's Logger.getLogger(Class) or Logger.getLogger(name) but it will only log to the WAS systemout log. Only RAM loggers can log to ramDebug.log.

The level for non-RAM loggers is Warn. So only Warn and Error will log to the WAS system out log.

But be careful what you log. The system out log gets quite full by normal logging. We don't want to have the system out log filled up by noise.

Thanks.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 35
× 8
× 6

Question asked: Jan 16 '13, 10:17 a.m.

Question was seen: 6,730 times

Last updated: Jan 16 '13, 4:55 p.m.

Confirmation Cancel Confirm