summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-02-26 11:30:57 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2024-02-26 11:30:57 +0200
commit3cd6ddaec6fd41ac84ef23595ffc7e3d18334839 (patch)
tree534070fd00cb53f600a45539db286f0172aee8a1 /lib/command_py.c
parent2bc8ae0d6a6d21e68e07484bc00893d4d9aeb0b7 (diff)
lib: fix setting temporary log options for libyang
By calling `ly_log_options` with `LY_LOSTORE`, the current code effectively disables libyang logging and never enables it back. The call is done to get the current logging options, but we don't really need that. When looking for a schema node, we don't want neither to log nor to store the error, so simply set the temporary options to 0. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions