I've added this dependency in my pom.xml (with the provided and the compile scope too):
<dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.4</version> <scope>provided</scope> </dependency>
And from my Java classes:
private final static Logger log = LoggerFactory .getLogger(MyClass.class);
Unfortunatelly, it writes nothing in the JIRA log.
I've also tried to add my onw log4j configuration in the pom.xml:
and even it creates a new log file in the specified location, it is empty too.
Your project is fine, I think you havent enabled the package to be logged in JIRA (dont pack a log4j.properties file in your plugin, not useful). Go to Logging and Profiling, scroll down, add a custom package com.whatever, set it to DEBUG level, then you'll get logging output.
How are you making the log calls? You still need to rell it to put output into the log, with the various levels, and set those levels in your logging and profiling settings e.g.
log.debug("This will come out in the log if the log level is set to debug");
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG