TEN-framework / TEN-framework/ten-framework

log format not consistant

Open
#302 1 comment 0 reactions 1 assignee View on GitHub

@plutoless is already working on this.

Since Oct 16, 2024.

enhancement
Dominant language
Python
Stars
11.1k
Forks
1.4k
Avg merge
2d 15m
Merged PRs (30d)
22

Description

Is your feature request related to a problem? Please describe.

there's many different formats

2024/09/30 11:04:38
2024-09-30 11:04:38
2024/09/30 11:04:38,888
2024/09/30 11:04:38.888
2024/09/30 11:04:38.534800

examples real logs

[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024-09-30 11:04:38,209 - aliyun_text_embedding - INFO - 9916 - [__init__.py:4] - aliyun_text_embedding extension loaded
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024-09-30 11:04:38,216 - file_chunker - INFO - 9916 - [__init__.py:4] - file_chunker extension loaded
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024-09-30 11:04:38,223 - elevenlabs_tts_python - INFO - 9916 - [__init__.py:6] - elevenlabs_tts_python extension loaded
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 INFO chat_transcriber extension init extension=CHAT_TRANSCRIBER_EXTENSION
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 ten OnInitDone
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] hello world defaultExtension init 1
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] hello world defaultExtension init 2
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 INFO slog hello world defaultExtension init extension=HELLO_WORLD_EXTENSION
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 ten OnInitDone
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 INFO interrupt_detector extension init extension=INTERRUPT_DETECTOR_EXTENSION
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 ten OnInitDone
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 INFO elevenlabs_tts extension init extension=ELEVENLABS_TTS_EXTENSION
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 ten OnInitDone
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 INFO init
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 ten OnInitDone
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 INFO xswitchExtension init extension=XSWITCH_EXTENSION
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38 ten OnInitDone
[avatar_0192429a-8596-7c41-8d57-b6393c7effd5] 2024/09/30 11:04:38.534800 ten OnInitDone

Describe the solution you'd like

better to format to one format, e.g. 2024-09-30 11:04:38.534

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.