Skip to main content

Route the decrypted metro log messages to a file

1 reply [Last post]
Anonymous

Dear Experts,
I am using message level security and I can enable debug Logs by setting the
following properties in the logging.properties file in Netbeans.

com.sun.xml.wss.logging.impl.opt.level = FINEST
com.sun.xml.wss.logging.impl.opt.crypto.level = FINEST
com.sun.xml.wss.logging.impl.opt.signature.level = FINEST
com.sun.xml.wss.logging.impl.opt.token.level = FINEST

Log gets printed in System.out

Is it possible to route the decrypted log messages to a flat file?

Regards,
Joseph

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Kumar Jayanti Guest
Offline
Joined: 2011-04-02
Points: 0

On May 31, 2012, at 2:48 PM, Joseph wrote:

> Dear Experts,
> I am using message level security and I can enable debug Logs by
> setting the
> following properties in the logging.properties file in Netbeans.
>
> com.sun.xml.wss.logging.impl.opt.level = FINEST
> com.sun.xml.wss.logging.impl.opt.crypto.level = FINEST
> com.sun.xml.wss.logging.impl.opt.signature.level = FINEST
> com.sun.xml.wss.logging.impl.opt.token.level = FINEST
>
> Log gets printed in System.out
>
> Is it possible to route the decrypted log messages to a flat file?

You would have to set your JDK's Log Handler.
>
> Regards,
> Joseph
>