I am normally searching like this
grep -rnws '/path/to/directory/' -e 'JMSAppender'
However this does display all jar files and class files where it might be used. I need to check only inside log4j properties in each projects.
Is there anyway to grep only properties files inside certain directories?