Nothing is written to the log file (atlassian jira)

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?

+4
source share
1 answer

Found the answer on my own using:

https://confluence.atlassian.com/adminjiraserver071/logging-and-profiling-802592962.html

- Jira Web System info -> File Paths

+3

Source: https://habr.com/ru/post/1693746/


All Articles