Is it possible to define two separate loggers each with its dedicated file handler for one class using java.util.logging? I want separate log file for errors and other application messages. I am trying but no success so far.
Can anyone suggest what is the possible solution for this? I am initializing one logger at the start of application which reads configurations from logging.properties and creating other logger within one function of the class.