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] A possibility to change the UTC Time of TLoggerProUDPSyslogAppender to local date and time #90

Open
EberhardBierl opened this issue May 11, 2024 · 0 comments

Comments

@EberhardBierl
Copy link

EberhardBierl commented May 11, 2024

The field FTimestamp using the DateToISO8601 function is set to UTC timezone. In certain circumstances this leads to log entries in the future. For example a Graylog input and the server are set to UTC, as recommended by Graylog. The local time of the source (our application) runs on UTC+02:00 we end up logging 2 hours in the future. I think a public property like "UseLocalTimezone" or something might be a solution. The Field FTimestamp is strict private so I don't know a clean solution for an inherited class without patching the original file TLoggerProUDPSyslogAppender.pas, what I actually do in the moment.
Will there be a chance to change this in future releases?

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

No branches or pull requests

1 participant