Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log format not consistant #302

Open
seven1240 opened this issue Sep 30, 2024 · 1 comment
Open

log format not consistant #302

seven1240 opened this issue Sep 30, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@seven1240
Copy link
Contributor

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

@plutoless plutoless self-assigned this Oct 16, 2024
@plutoless plutoless added the enhancement New feature or request label Oct 16, 2024
@wangyoucao577
Copy link
Collaborator

Will be unified by next ten_framework release, so that all extensions can use ten_runtime's log directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants