How to enable plugin logging

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to enable plugin logging

Ming Cheng

Hi,

 

My open source code has these pom.xml configurations :

 

<dependency>

<groupId>org.slf4j</groupId>

<artifactId>slf4j-api</artifactId>

<version>1.7.7</version>

</dependency>

<dependency>

<groupId>org.slf4j</groupId>

<artifactId>slf4j-log4j12</artifactId>

<version>1.7.13</version>

</dependency>

 

And java code in a class:

 

private static final Logger log = LoggerFactory.getLogger(QFixHandler.class);

 

catch (CoreException e) {

            log.error(e.getMessage());

        } catch (InterruptedException e) {

            log.error(e.getMessage());

        }

 

I tried to make my program to call log.error() but I could not see and log file. Anything I should config in Eclipse env?

 

Thanks.

 

Sent from Mail for Windows 10

 


_______________________________________________
cdt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev