eppesuig
eppesuig

Reputation: 1385

Logging with java.util.logging in a multi thread application

I have a swing application based on SAF (Swing Application Framework). All logging is done via java.util.logging and two different handlers: console and file. When I create Action to be executed by background taks, these task do not logging does not show up on console or file, even if here is no error/exception when calling the logger.log() method.

Is there any problem in using java.utils.logging classes from different threads? How may I better check/resolv this problem?

Thanks, Giuseppe

Upvotes: 0

Views: 955

Answers (1)

Steve McLeod
Steve McLeod

Reputation: 52448

java.util.logging works safely in a multi-threaded application.

You should create a SSCCE to demonstrate the problem.

Upvotes: 0

Related Questions