equal
deleted
inserted
replaced
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 } |