Fix the logging levels

This commit is contained in:
Baptiste Wicht 2018-03-28 08:34:53 +02:00
parent ecf2f80525
commit 69a66e4b78
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ ramdisk::disk_descriptor* ramdisk::make_disk(uint64_t max_size){
ramdisks[current].allocated[i] = nullptr;
}
logging::logf(logging::log_level::ERROR, "ramdisk: Created ramdisk %u of size %m with %u pages\n", current, max_size, pages);
logging::logf(logging::log_level::TRACE, "ramdisk: Created ramdisk %u of size %m with %u pages\n", current, max_size, pages);
++current;
return &ramdisks[current - 1];

View File

@ -129,7 +129,7 @@ void physical_allocator::init(){
auto size = current_mmap_entry->size;
auto managed_space = size - (current_mmap_entry_position - current_mmap_entry->base);
logging::logf(logging::log_level::ERROR, "palloc: Managed space %h\n", size_t(managed_space));
logging::logf(logging::log_level::TRACE, "palloc: Managed space %h\n", size_t(managed_space));
auto data_bitmap_1 = create_array(managed_space, 1);
auto data_bitmap_2 = create_array(managed_space, 2);