Skip to content

Commit

Permalink
storages: change error log category to serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
selsta committed Sep 22, 2023
1 parent 533bbc3 commit 3f9140e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/epee/include/storages/portable_storage_from_bin.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
#include "portable_storage_base.h"
#include "portable_storage_bin_utils.h"

#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "serialization"

#ifdef EPEE_PORTABLE_STORAGE_RECURSION_LIMIT
#define EPEE_PORTABLE_STORAGE_RECURSION_LIMIT_INTERNAL EPEE_PORTABLE_STORAGE_RECURSION_LIMIT
#else
Expand Down
3 changes: 3 additions & 0 deletions contrib/epee/include/storages/portable_storage_from_json.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
#include "parserse_base_utils.h"
#include "file_io_utils.h"

#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "serialization"

#define EPEE_JSON_RECURSION_LIMIT_INTERNAL 100

namespace epee
Expand Down

0 comments on commit 3f9140e

Please sign in to comment.