Message7034
OK, I found another workaround that should work.
Before you use your logging code, execute the following
###########
import os
if not hasattr(os, 'getpid'):
from java.lang.management import ManagementFactory
_getpid = lambda: int(ManagementFactory.getRuntimeMXBean().name.split("@")[0])
setattr(os, "getpid", _getpid)
###########
Please let me know if this works for you. |
|
Date |
User |
Action |
Args |
2012-04-06 21:08:19 | amak | set | messageid: <1333746499.15.0.736098398918.issue1808@psf.upfronthosting.co.za> |
2012-04-06 21:08:19 | amak | set | recipients:
+ amak, otmarhumbel, irmen, whistler11783 |
2012-04-06 21:08:19 | amak | link | issue1808 messages |
2012-04-06 21:08:18 | amak | create | |
|