-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
rds download-db-log-file-portion -> encoding issue #2724
Comments
Would it be possible to run this command again with |
Sure, I got the following output (I have collapsed the log part on LogFileData tag to just the begining and the end, which shows the encoding issue also on the terminal):
Do you think it may be a problem in my terminal (I tried on different systems and all the same)? Does aws-cli have an option to save the file directly instead of relying on redirection? |
Thanks for the debug logs. We are going to do more research into why this may be happening, but don't think it is an issue with the redirection as the question marks are showing up in the debug logs as well. |
Is this still an issue for you? |
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one. |
I was debugging a problem with different size reported by
describe-db-log-files
and the size downloaded withdownload-db-log-file-portion
, like the one reported on #1504, and I found out that when you have unicode characters in the log file the aws-cli client won't download it properly.Version: aws-cli/1.11.36 Python/2.7.13 Linux/4.10.13-200.fc25.x86_64 botocore/1.4.93
That is easily reproducible, I executed the following on a PostgreSQL instance after setting
log_min_duration_statement=0
on the parameter group:The file downloaded as:
The line on the file taken from the above command is:
While the same line on the file downloaded through AWS web console is:
I haven't found issues related (please forgive me if that is a known issue). Am I doing something wrong or is it really a bug on aws-cli or Boto?
I can do more trials if needed, and I can help debugging more.
The text was updated successfully, but these errors were encountered: