> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Sweeps에서 코드 로깅을 활성화하려면 어떻게 하나요?

Sweeps에서 코드 로깅을 활성화하려면 W\&B Run을 초기화한 후 `wandb.log_code()`를 추가하세요. 이 단계는 W\&B 프로필 Settings에서 코드 로깅을 활성화하더라도 필요합니다. 고급 코드 로깅에 대해서는 [`wandb.log_code()` 레퍼런스](/ko/models/ref/python/experiments/run#log_code)를 참고하세요.

***

<Badge stroke shape="pill" color="orange" size="md">[Sweeps](/ko/support/models/tags/sweeps)</Badge>
