Hello,
I am invoking a java handler using nginx-clojure framework. TO debug some of the issue I want to instrument the binary with some debug logs. I was wondering how I can enable the same.
Following is what I have tried till now...
Have following in config file...
jvm_options "-Dnginx.clojure.logger.level=debug";
And writing logs like this in my code...
if (NginxClojureRT.log.isDebugEnabled()) {$
NginxClojureRT.log.debug("vikrant testing = %s", uri);$
}$
But is not really writing anything in code. I suspect that Iam not looking at the right place, or I do not have the correct configuration in place.
Can you please adivse how I should proceed in this case?
Thanks,
Vikrant