Bridge Logging = OFF not working using the Java Bridge [message #90237] |
Thu, 12 February 2015 17:51  |
Matt Francis
Messages: 94 Registered: May 2010
|
Member |
|
|
I am trying to prevent IDL from writing jb_log_<pid>.txt files every time it start a new java bridge session. According the docs, I should be able to achieve this by setting
Bridge Logging = OFF
in the .idljavabrc file.
When I do this, the log files keep being created. I do know IDL is picking up the correct file, since I tried messing with
Log Location = <path>
and managed to get log files written to different places that I specified.
I tried setting the location blank
Log Location =
and the bridge using code seems to run fine and I can't find any log files anywhere (including in the default /tmp). This seems to achieve what I'm after but I'm nervous that perhaps they would be made and pile up somewhere that I hadn't thought to check in.
|
|
|
|
Re: Bridge Logging = OFF not working using the Java Bridge [message #90264 is a reply to message #90263] |
Sun, 15 February 2015 16:47  |
Matt Francis
Messages: 94 Registered: May 2010
|
Member |
|
|
Another update, it appears that it is not so much leaving the log location blank that does the trick, e.g.
Log Location =
But just specifying any non-valid location, e.g.
Log Location = qwertyuiop
results in no log files being generated, but no adverse behaviour in the Java Bridge, i.e. it seems to fail silently when trying to make a log file. So this does appear to be a workaround for the failure of
Bridge Logging = OFF
to do what it is supposed to do.
|
|
|