Replies: 2 comments 4 replies
-
@roncking sorry for the late response. You need to include one of SLF4J implementations (e.g. log4j, logback, tinylog etc) in your classpath and configure it to print out logs to stdout/file/etc. For example: <dependency>
<groupId>org.tinylog</groupId>
<artifactId>slf4j-tinylog</artifactId>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>org.tinylog</groupId>
<artifactId>tinylog-impl</artifactId>
<version>2.7.0</version>
</dependency> And also enable logging when creating the .logRequests(true)
.logResponses(true) |
Beta Was this translation helpful? Give feedback.
3 replies
-
I'm using normal java version of langchain4j with spring boot (without using langchain4j spring boot starter) with default spring boot logging. As mention by @langchain4j, i set
and in my application.properties, I just add
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have included langchain4j in my maven based project. It runs fine, but I can't see any logging output at all! Here's my code:
What do I need to do to activate logging, and where will the output be?
Beta Was this translation helpful? Give feedback.
All reactions