Change OpenMRS log level

(Mark Goodrich) #1

Hello all–

This is a question I probably should know the answer to, but I don’t… :slight_smile:

We are trying to debug an issue where one of our production servers is crashing regularly, and I wanted to change the log level of what is logged to openmrs.log… ie, lower it from “WARN” to “INFO” or “DEBUG”. How do I go about this?

Thanks! Mark

How to change log levels
(Mike Seaton) #2

I don’t know whether this actually works, but there is a global property setting named log.level that I believe is supposed to allow for adjusting this at runtime. Give that a shot and let us know if it works!


(Mark Goodrich) #3

That worked… don’t belief I didn’t know that and/or had had forgotten it!

Thanks, Mark

(Siav R) #4

@mogoodrich Where should I set that property?

(Mark Goodrich) #5

@shivarachakonda from the “Settings”, accessible from the “Maintenance” section on the main administration page.