comparison plugins/mod_admin_shell.lua @ 14091:f20bb1c53652

Merge 13.0->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 21 Feb 2026 17:08:11 +0100
parents 0dd917830523 2aeb5dcb36bf
children 44a8c8d4146a
comparison
equal deleted inserted replaced
14089:ec2996387db4 14091:f20bb1c53652
2456 describe_command [[debug:cert_index([path]) - Show Prosody's view of a directory of certs]] 2456 describe_command [[debug:cert_index([path]) - Show Prosody's view of a directory of certs]]
2457 function def_env.debug:cert_index(path) 2457 function def_env.debug:cert_index(path)
2458 local print = self.session.print; 2458 local print = self.session.print;
2459 local cm = require "core.certmanager"; 2459 local cm = require "core.certmanager";
2460 2460
2461 path = path or module:get_option("certificates", "certs"); 2461 path = path or module:get_option_path("certificates", "certs", "config");
2462 2462
2463 local sink = logger.add_simple_sink(function (source, level, message) 2463 local sink = logger.add_simple_sink(function (source, level, message)
2464 if source == "certmanager" then 2464 if source == "certmanager" then
2465 if level == "debug" or level == "info" then 2465 if level == "debug" or level == "info" then
2466 level = "II"; 2466 level = "II";