Skip to content

[Phrase] Translation Updates - 2026-03-16#35321

Open
webops-guacbot[bot] wants to merge 1 commit intophrase-translations-stagingfrom
guacbot/phrase-translations-2026-03-16
Open

[Phrase] Translation Updates - 2026-03-16#35321
webops-guacbot[bot] wants to merge 1 commit intophrase-translations-stagingfrom
guacbot/phrase-translations-2026-03-16

Conversation

@webops-guacbot
Copy link
Contributor

Automated translation updates from Phrase

@webops-guacbot webops-guacbot bot requested a review from a team as a code owner March 16, 2026 23:28
@bgdeutsch bgdeutsch added the Do Not Merge Just do not merge this PR :) label Mar 16, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 495431ec3c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

FORMAT = ('%(asctime)s %(levelname)s [%(name)s] [%(filename)s:%(lineno)d] '
'[dd.service=%(dd.service)s dd.env=%(dd.env)s dd.version=%(dd.version)s dd.trace_id=%(dd.trace_id)s dd.span_id=%(dd.span_id)s] '
'- %(message)s')
logging.basicConfig(filename=f'/home/LogFiles/app-{os.getenv(COMPUTERNAME)}.log', format=FORMAT)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Quote COMPUTERNAME in Python logging example

The Python sample uses os.getenv(COMPUTERNAME), but COMPUTERNAME is treated as a variable name, not an environment-variable key, so the snippet raises NameError when users run it. Because this code is presented as a runnable App Service example, the key should be passed as a string (for example, os.getenv("COMPUTERNAME")) so log file naming works as documented.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Do Not Merge Just do not merge this PR :)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant