Skip to content

Commit c0da410

Browse files
pablorfb-metameta-codesync[bot]
authored andcommitted
Document log level env vars (meta-pytorch#1447)
Summary: Pull Request resolved: meta-pytorch#1447 Title Reviewed By: colin2328 Differential Revision: D84023210 fbshipit-source-id: d142f78e3c5f8a3c914e1fd881658d96d309673e
1 parent 76bea8b commit c0da410

File tree

1 file changed

+5
-1
lines changed
  • hyperactor_telemetry/src

1 file changed

+5
-1
lines changed

hyperactor_telemetry/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ pub const DISABLE_RECORDER_TRACING: &str = "DISABLE_RECORDER_TRACING";
2929
/// Environment variable to disable the sqlite logging layer.
3030
/// Set to "1" to disable the sqlite tracing.
3131
pub const DISABLE_SQLITE_TRACING: &str = "DISABLE_SQLITE_TRACING";
32-
// Environment variable constants
32+
33+
/// Environment variable constants
34+
// Log level (debug, info, warn, error, critical) to capture for Monarch traces on dedicated log file (changes based on environment, see `log_file_path`).
3335
const MONARCH_FILE_LOG_ENV: &str = "MONARCH_FILE_LOG";
36+
// Log level (debug, info, warn, error, critical) to capture for Monarch traces on stderr.
3437
const MONARCH_STDERR_LOG_ENV: &str = "MONARCH_STDERR_LOG";
38+
3539
pub const MAST_HPC_JOB_NAME_ENV: &str = "MAST_HPC_JOB_NAME";
3640

3741
// Log level constants

0 commit comments

Comments
 (0)