Hi guys,

Can you tell me if there a way that I can use set the ConversionPattern in Log4J to include the PID of the currently executing thread? In our house-build logging code, we do:

String[] cmd = { "/bin/bash", "-c", "echo $PPID" };
Process p = Runtime.getRuntime().exec(cmd); // etc.

I see that the Perl implementation supports this, but can't find reference to it in the Java version. Does anyone have a quick hack?

Cheers,
Lee

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to