Backblaze / B2_Command_Line_Tool

The command-line tool that gives easy access to all of the capabilities of B2 Cloud Storage
Other
542 stars 129 forks source link

Escape invalid unicode in logging, log more locale info #1030

Closed adal-chiriliuc-reef closed 7 months ago

adal-chiriliuc-reef commented 7 months ago

Enable backslashreplace escaping in logging. Especially needed if for some reason Python decides to use ascii encoding as the default one.

Set B2_CLI_DOCKER=1 env when running in Docker, and log a debug message if it's set.