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

[rqd] Fix file logging to handle non-ASCII characters without timestamp #1417

Conversation

ramonfigueiredo
Copy link
Collaborator

  • Updated the logging logic to use the file name for appending logs.
  • Corrected file logging to ensure non-ASCII characters are properly handled when RQD_PREPEND_TIMESTAMP is False.
  • This change prevents crashes due to TypeError and fixes the broken file logging. self.rqlog is a file object and not a string.

- Updated the logging logic to use the file name for appending logs.
- Corrected file logging to ensure non-ASCII characters are properly handled when RQD_PREPEND_TIMESTAMP is False.
@ramonfigueiredo
Copy link
Collaborator Author

This change fixes the problem found by @lithorus and described in the PR: #1335 (comment)

@DiegoTavares DiegoTavares merged commit cddb6c9 into AcademySoftwareFoundation:master Jul 16, 2024
12 checks passed
n-jay pushed a commit to n-jay/OpenCue that referenced this pull request Jul 26, 2024
…ademySoftwareFoundation#1417)

- Updated the logging logic to use the file name for appending logs.
- Corrected file logging to ensure non-ASCII characters are properly handled when RQD_PREPEND_TIMESTAMP is False.
@ramonfigueiredo ramonfigueiredo deleted the fix-file-logging-without-timestamp branch October 15, 2024 17:06
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

Successfully merging this pull request may close these issues.

2 participants