jinterop Log Problem

309 views
Skip to first unread message

Şahin Atam

unread,
Apr 12, 2016, 6:43:17 AM4/12/16
to openSCADA
Hi there,

I use utgard library to connect opc server,but in a few days,it fills all the disk.

Big log file under windows temp directory with the name jinterop0.log is created while data is being transmitted to opc server.

I used JISystem.setInBuiltLogHandler(false); 

There is no JISystem.setLogLevel(Level.SEVERE);  

How to solve this problem ? 



Jens Reimann

unread,
Apr 12, 2016, 11:24:58 AM4/12/16
to openSCADA

Depends on which jinterop distribution you are using. The native jinterop version uses Java logging and has to be configured accordingly. The Utgard version of jinterop uses slf4j.

--
You received this message because you are subscribed to the Google Groups "openSCADA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openscada+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Şahin Atam

unread,
Apr 13, 2016, 1:37:08 AM4/13/16
to openSCADA
Thank you Jens for reply,

is it possible to disable such logging under windows temp file in utgard version of jinterop ?

12 Nisan 2016 Salı 18:24:58 UTC+3 tarihinde Jens Reimann yazdı:

Jens Reimann

unread,
Apr 13, 2016, 9:40:10 AM4/13/16
to openSCADA
Sure. Just configure Java logging or SLF4J logging. Google should help.

Şahin Atam

unread,
Apr 14, 2016, 2:47:39 AM4/14/16
to openSCADA
Tank you Jens,

It seems adding following code script to my application which uses utgard library solved my problem. jinterop.log is created under Windows temp directory but no log written into.

java.util.logging.Logger.getLogger("org.jinterop").setLevel(java.util.logging.Level.OFF);
Reply all
Reply to author
Forward
0 new messages