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

add timestamp to logfiles #4320

Closed
1 task
HunterTom94 opened this issue Jun 14, 2022 · 5 comments
Closed
1 task

add timestamp to logfiles #4320

HunterTom94 opened this issue Jun 14, 2022 · 5 comments

Comments

@HunterTom94
Copy link

HunterTom94 commented Jun 14, 2022

What kind of issue is this?

  • Feature Request.

Description of problem

I know by monitor_filters= time, log2file, you can show timestamp in the terminal and log serial output to a file. However, is it possible to also include the timestamp in the logged file?

The content of platformio.ini:

monitor_filters= time, log2file
@ivankravets
Copy link
Member

Thanks for the issue. Could you re-test the latest development branch?

pio upgrade --dev

Does it work now?

@HunterTom94
Copy link
Author

HunterTom94 commented Jun 15, 2022 via email

@ivankravets
Copy link
Member

Could you try to add default filter? See docs https://docs.platformio.org/projectconf/section_env_monitor.html

What is your hardware? It could be a bootloader output.

@HunterTom94
Copy link
Author

HunterTom94 commented Jun 15, 2022 via email

@ivankravets
Copy link
Member

It looks like a garbage from boot-loader. You can check it with hexlify filter. But please remove all other filters.

Reverting back to 6.0.2. See installation guide (docs) for PIO Core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants