Skip to content
Snippets Groups Projects
Commit fd8108d1 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Put all loggers to debug level

parent d0c50276
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,7 @@ void cluster(const string& config_file, const string& data_file, const string& o
string timing_name = output_path + "/c_timing_mpi"+ to_string(mpidata->rank) +".log";
FILE *timing_file = fopen(timing_name.c_str(), "w");
Logger *time_logger = new Logger(LOG_DEBG, timing_file);
Logger *logger = new Logger(LOG_INFO);
Logger *logger = new Logger(LOG_DEBG);
#ifdef USE_MAGMA
logger->log("INFO: Process " + to_string(mpidata->rank) + " initializes MAGMA.\n");
magma_init();
......@@ -533,7 +533,7 @@ int cluster_jxi488_cycle(int jxi488, ScattererConfiguration *sconf, GeometryConf
{
int nxi = sconf->number_of_scales;
string message = "INFO: running scale iteration " + to_string(jxi488) + " of " + to_string(nxi) + ".\n";
Logger *logger = new Logger(LOG_INFO);
Logger *logger = new Logger(LOG_DEBG);
logger->log(message);
chrono::duration<double> elapsed;
chrono::time_point<chrono::high_resolution_clock> interval_start, interval_end;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment