@@ -93,7 +93,7 @@ int FileSystemStore::init()
93
93
tr_info (" KV Dir: %s, doesnt exist - creating new.. " , _cfg_fs_path); // TBD verify ERRNO NOEXIST
94
94
if (_fs->mkdir (_cfg_fs_path,/* which flags ? */ 0777 ) != 0 ) {
95
95
tr_error (" KV Dir: %s, mkdir failed.. " , _cfg_fs_path); // TBD verify ERRNO NOEXIST
96
- status = MBED_ERROR_FAILED_OPERATION ;
96
+ status = MBED_ERROR_FAILED_OPERATION;
97
97
goto exit_point;
98
98
}
99
99
} else {
@@ -138,9 +138,7 @@ int FileSystemStore::reset()
138
138
kv_dir.open (_fs, _cfg_fs_path);
139
139
140
140
while (kv_dir.read (&dir_ent) != 0 ) {
141
- tr_info (" Looping FSST folder: %s, File - %s" , _cfg_fs_path, dir_ent.d_name );
142
141
if (dir_ent.d_type != DT_REG) {
143
- tr_error (" KV_Dir should contain only Regular File - %s" , dir_ent.d_name );
144
142
continue ;
145
143
}
146
144
// Build File's full path name and delete it (even if write-onced)
@@ -354,7 +352,6 @@ int FileSystemStore::set_start(set_handle_t *handle, const char *key, size_t fin
354
352
}
355
353
356
354
if (status == MBED_SUCCESS) {
357
- tr_info (" File: %s, Exists. Verifying Write Once Disabled before setting new value" , _full_path_key);
358
355
if (key_metadata.user_flags & KVStore::WRITE_ONCE_FLAG) {
359
356
kv_file->close ();
360
357
status = MBED_ERROR_WRITE_PROTECTED;
@@ -544,7 +541,6 @@ int FileSystemStore::iterator_next(iterator_t it, char *key, size_t key_size)
544
541
545
542
while (kv_dir->read (&kv_dir_ent) != 0 ) {
546
543
if (kv_dir_ent.d_type != DT_REG) {
547
- tr_error (" KV_Dir should contain only Regular File - %s" , kv_dir_ent.d_name );
548
544
continue ;
549
545
}
550
546
@@ -605,7 +601,6 @@ int FileSystemStore::_verify_key_file(const char *key, key_metadata_t *key_metad
605
601
_build_full_path_key (key);
606
602
607
603
if (0 != kv_file->open (_fs, _full_path_key, O_RDONLY)) {
608
- tr_info (" Couldn't read: %s" , _full_path_key);
609
604
status = MBED_ERROR_ITEM_NOT_FOUND;
610
605
goto exit_point;
611
606
}
0 commit comments