Skip to content

Logger strips filenames weirdly when repo is not named "lakefs" #9296

@arielshaqed

Description

@arielshaqed

This affects:

  • Any build in a directory with a strange name.
  • Any re-use of the lakeFS logging infrastructure in other projects.
  • The lakeFS enterprise server. Many logs are emitted from files named "-Enterprise/...", which is oddly confusing.

We probably need to improve function logCallTrimmer. For instance, ProjectDirectoryName might be injected differently from other projects, it might be a var (set during some init), perhaps a var holding a regexp for the part to keep, or something else.

Metadata

Metadata

Assignees

Labels

goPull requests that update Go codegood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions