--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/415c78ae-cfbc-4042-9c5f-7e544b623696%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
JamesCheers,You can basically configure logging in any way you want, including disabling specific loggers like the one you reference above.Hi Greg,You can find information how how logging works with HAPI here: http://hapifhir.io/doc_logging.html
On Wed, Sep 27, 2017 at 1:47 PM, Greg Harabedian <greg.ha...@gmail.com> wrote:
I am new to HAPI and I was wondering how I set the log level and/or just suppress warning messages. For example, I may get a message like the following when my software runs:[main] WARN ca.uhn.fhir.parser.LenientErrorHandler - Found incorrect type for element identifier - Expected ARRAY and found OBJECTI'd like to supress these warnings if possible.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/ea96b826-b99c-4ab9-9d3f-88f321cc27a2%40googlegroups.com.
JamesCheers,You can basically configure logging in any way you want, including disabling specific loggers like the one you reference above.Hi Greg,You can find information how how logging works with HAPI here: http://hapifhir.io/doc_logging.html
On Wed, Sep 27, 2017 at 1:47 PM, Greg Harabedian <greg.ha...@gmail.com> wrote:
I am new to HAPI and I was wondering how I set the log level and/or just suppress warning messages. For example, I may get a message like the following when my software runs:[main] WARN ca.uhn.fhir.parser.LenientErrorHandler - Found incorrect type for element identifier - Expected ARRAY and found OBJECTI'd like to supress these warnings if possible.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/9c893cd4-2ae1-4bdf-bce0-4d609e25b57a%40googlegroups.com.
FhirContext context = FhirContext.forDstu3();
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/b512abac-ee1c-43ee-8b03-5c85424176de%40googlegroups.com.
JamesIf you set those loggers (or just the root logger) to a level higher than INFO (WARN or ERROR) in your logback.xml, you won't see INFO level messages such as those ones.Cheers,On Tue, Oct 10, 2017 at 2:57 PM, Greg Harabedian <greg.ha...@gmail.com> wrote:When I enable debug mode and execute the line:FhirContext context = FhirContext.forDstu3();where I had previously imported ca.uhn.fhir.context.FhirContext,I get the console message:[main] INFO ca.uhn.fhir.util.VersionUtil - HAPI FHIR version is: 2.5[main] INFO ca.uhn.fhir.context.FhirContext - Creating new FHIR context for FHIR version [DSTU3]The question is how do I supress this?Greg
On Wednesday, September 27, 2017 at 10:47:22 AM UTC-7, Greg Harabedian wrote:I am new to HAPI and I was wondering how I set the log level and/or just suppress warning messages. For example, I may get a message like the following when my software runs:[main] WARN ca.uhn.fhir.parser.LenientErrorHandler - Found incorrect type for element identifier - Expected ARRAY and found OBJECTI'd like to supress these warnings if possible.--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.