fix(logger): change the JSON format filename to logs.jsonl

This commit is contained in:
ayn2op 2025-04-30 20:12:11 -04:00
parent 66948117c9
commit 00b3e8f088

View file

@ -40,7 +40,7 @@ func Load(format Format, level slog.Level) error {
h = slog.NewTextHandler(file, opts)
case FormatJson:
path := filepath.Join(path, "logs.json")
path := filepath.Join(path, "logs.jsonl")
file, err := os.OpenFile(path, os.O_CREATE|os.O_WRONLY, os.ModePerm)
if err != nil {
return err