> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-1917.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Can I just log metrics, no code or dataset examples?

By default, W\&B does not log dataset examples. By default, W\&B logs code and system metrics.

Two methods exist to turn off code logging with environment variables:

1. Set `WANDB_DISABLE_CODE` to `true` to turn off all code tracking. This action prevents retrieval of the git SHA and the diff patch.
2. Set `WANDB_IGNORE_GLOBS` to `*.patch` to stop syncing the diff patch to the servers, while keeping it available locally for application with `wandb restore`.

Organization admins can enforce privacy settings for all teams in their organization from within the **Privacy** section of the **Settings** tab in the account or organization dashboard. If organization admins enforce a setting, team admins are not allowed to configure that within their respective teams.

As a team admin, you can turn off default code saving for runs in your team:

1. Navigate to `https://wandb.ai/<team>`. Replace `<team>` with your team name.
2. Select **Team settings** in the left navigation.
3. Open the **Privacy** section and turn **Enable code saving by default** off.

## For details, see [Privacy settings](/platform/hosting/privacy-settings).

<Badge stroke shape="pill" color="orange" size="md">[Administrator](/support/models/tags/administrator)</Badge><Badge stroke shape="pill" color="orange" size="md">[Team Management](/support/models/tags/team-management)</Badge><Badge stroke shape="pill" color="orange" size="md">[Metrics](/support/models/tags/metrics)</Badge>
