Plugin refuses to write logs to file

I’ve created a copy of existing plugin but for some reason the copy doesn’t write to logfile at all. Original plugin works fine. Loglevel is set up properly in my Jira. In my copy plugin I’ve added atlassian-jira.log to my pomfile under jira-mave-plugin config (recommended on this website). It seems to completely igonre everything. How can I make my log4j use existing .properties file?

update on issue
I’ve created a copy of my servlet inside another plugin (where logging works fine). The original servlets can write to logfile properly while my servlet doesn’t.