I installed jira 7.3.6 and created my own authentication class, in which I write the following messages to the log:
log.debug(" - - Debug");
log.warn(" - - Warning");
log.info(" - - INFO");
System.out.println(" - - - - - Test print - - ");
but the log file is in:
/opt/jira/atlassian/data/log/atlassian-jira.log
does not contain any of the above printed messages. I see:
- - - - - Test print - -
from a system call outside:
/opt/jira/atlassian/jira/logs/catalina.out
which verifies that the above code is actually executing. The first line in log4j.propertiescontains:
log4j.rootLogger=DEBUG, filelog, cloudAppender
therefore he must print those log messages.
Any ideas what might be wrong and ideas to make the magazine work?
source
share