Hi Dayu.
1.x uses Commons-logging instead of SLF4j, but the general principal is the
same. If you add log4j to your classpath (I'm not positive but I don't
think C-L supports Logback as a backing library) it should automatically
get picked up and start logging. In fact, I think commons-logging def
Thanks for the reply, James. I should have been more specific in the first
place. We use HAPI 1.x, not HAPI 2.x, I wonder if HAPI takes the same approach
in both releases.
Dayu
On May 29, 2014, at 9:28 AM, James Agnew wrote:
> Hi Dayu,
>
> HAPI uses SLF4j ( http://www.slf4j.org/ ) for loggin
Hi Dayu,
HAPI uses SLF4j ( http://www.slf4j.org/ ) for logging. SLF4j is a facade
framework which forwards logging to an underlying framework, such as LOG4j
or Logback.
The easiest way to get started with logging is to just add a logback JAR to
your classpath. If you're already using a specific f
Hello
Just wonder if HAPI has any logging, if yes, how to turn it on.
Thanks
Dayu
--
Dayu Han
Software Developer
Strata Health Solutions
Phone: +1 403 261 0855 ext 2102
www.stratahealth.com
--
Time is money. Sto
Hi Sara,
This is probably a similar issue to the other one you had, where OpenMRS is
importing an older version of a libaray (in this case, slf4j). The easiest
fix here might be to remove the SLF4j and log4j dependencies from your pom
entirely (since they are being pulled already by OpenMRS) and a
5 matches
Mail list logo