interfacerproject / interfacerproject/interfacer-proxy

INTERFACER_LOG should be a path to a file

Open
#10 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I think INTERFACER_LOG should be a path to a file, instead of a path to a directory.

INTERFACER_LOG variable is fetched than passed here like this: https://github.com/interfacerproject/interfacer-proxy/blob/ec744a37c2fd2917f7ea2c7867a2489a21a2d930/logger/log.go#L16

I can take care of this, but tell me what you think.

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

Start in logger/log.go at the linked line where INTERFACER_LOG is fetched and passed. Check how the value is interpreted, then update the behavior so the variable represents a file path rather than a directory; no test or other file is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability-sre
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.