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

[Feature request]: Logfile wrong filename when using %TIMESTAMP% variable #24787

Open
JoeTN opened this issue Nov 15, 2024 · 0 comments
Open
Labels
feature request Feature request

Comments

@JoeTN
Copy link

JoeTN commented Nov 15, 2024

Is your feature request related to a problem? Please describe

I am using the %TIMESTAMP% variable in the name of my text logfiles.
I've configured the timestamp to my liking using the timestamp_format in configuration.yaml.

The log in the console shows the timestamp the right way as configured in timestamp_format, but the name of my logfile does not.

configuration.yaml
timestamp_format: DD/MM-YYYY HH:mm:ss
log_directory: data/log
log_file: log_%TIMESTAMP%.txt

my logfiles has this naming: log_2024-11-15.22-05-31.txt
and not the log_DD/MM-YYYY HH:mm:ss that I would like.

Describe the solution you'd like

Would be nice if the %TiMESTAMP% variable would use the format defined with the timestamp_format variable when logging to text file.

Describe alternatives you've considered

None

Additional context

None

@JoeTN JoeTN added the feature request Feature request label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

1 participant