comparison hotspot/src/share/vm/logging/logConfiguration.cpp @ 34252:59d76c40998a

8143229: Replace the develop level with develop macros in Unified Logging Reviewed-by: brutisso, coleenp, dholmes, rprotacio
author mlarsson
date Fri, 20 Nov 2015 12:42:21 +0100
parents 294e48b4f704
children 4d876653d940
comparison
equal deleted inserted replaced
1:539c7e31b129 2:424c55a08987
42 void LogConfiguration::post_initialize() { 42 void LogConfiguration::post_initialize() {
43 assert(LogConfiguration_lock != NULL, "Lock must be initialized before post-initialization"); 43 assert(LogConfiguration_lock != NULL, "Lock must be initialized before post-initialization");
44 LogDiagnosticCommand::registerCommand(); 44 LogDiagnosticCommand::registerCommand();
45 LogHandle(logging) log; 45 LogHandle(logging) log;
46 log.info("Log configuration fully initialized."); 46 log.info("Log configuration fully initialized.");
47 log_develop_info(logging)("Develop logging is available.");
47 if (log.is_trace()) { 48 if (log.is_trace()) {
48 ResourceMark rm; 49 ResourceMark rm;
49 MutexLocker ml(LogConfiguration_lock); 50 MutexLocker ml(LogConfiguration_lock);
50 describe(log.trace_stream()); 51 describe(log.trace_stream());
51 } 52 }