ollama / ollama/ollama-python

Logging level of "HTTP Request: POST" should be DEBUG, not INFO

Open Beginner friendly
#539 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.5k
Forks
1.2k
Avg merge
4m
Merged PRs (30d)
1

Description

Currently, when running a script making a request to the Ollama server, a log entry of level INFO is created like this:

HTTP Request: POST http://192.168.1.118:11434/api/generate "HTTP/1.1 200 OK"

IMHO, this info is only relevant when debugging the calling script with the default log level set to DEBUG.
Hence, the level of this output message should be changed from INFO to DEBUG.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for the exact HTTP Request: POST message and trace which logger or request entry point emits it. Confirm the relevant logging behavior at the default level, then verify that the request message appears at DEBUG rather than INFO.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.