Skip to content

Commit a5dd84f

Browse files
committed
Removed unnecessary comments and putenv statements
1 parent b37af16 commit a5dd84f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/utils/logging.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,11 @@ static std::vector<h2::Logger*> logger_vec;
4242

4343
void setup_loggers()
4444
{
45-
//putenv("TEST_LOG_MASK=trace|debug|info|warn|error|critical, io=debug|info|warn, training=critical|error, test_logger=debug|info|warn");
46-
putenv("TEST_LOG_LEVEL=critical, RT=trace");
47-
logger_vec.insert(logger_vec.end(), { &io_logger, &rt_logger, &train_logger });
45+
logger_vec.insert(logger_vec.end(), {
46+
&io_logger, &rt_logger, &train_logger });
4847
h2::setup_levels(logger_vec, "TEST_LOG_LEVEL");
49-
//h2::setup_masks(logger_vec, "TEST_LOG_MASK");
5048
}
5149

52-
// Raw string may be useful for debugging
5350
char const* logger_id_str(LBANN_Logger_ID id)
5451
{
5552
switch (id) {
@@ -64,7 +61,6 @@ char const* logger_id_str(LBANN_Logger_ID id)
6461
}
6562
}
6663

67-
// Access the actual logger object
6864
h2::Logger& get(LBANN_Logger_ID id)
6965
{
7066
switch (id) {

0 commit comments

Comments
 (0)