<arg choice="opt"><option>-t</option></arg>
<arg choice="opt"><option>-u <replaceable>uid</replaceable></option></arg>
<arg choice="opt"><option>-V</option></arg>
+ <arg choice="opt"><option>-v <replaceable>level</replaceable></option></arg>
<arg choice="opt"><option>-X</option></arg>
<arg choice="opt"><option>-install</option></arg>
<arg choice="opt"><option>-remove</option></arg>
</varlistentry>
<varlistentry>
+ <term><option>-v <replaceable>level</replaceable></option></term>
+ <listitem>
+ <para>
+ Sets log level (YAZ log level system).
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-X</option></term>
<listitem>
<para>
yaz_log_init_prefix("pazpar2");
yaz_log_xml_errors(0, YLOG_WARN);
- while ((ret = options("dDf:h:l:p:tu:VX", argv, argc, &arg)) != -2)
+ while ((ret = options("dDf:h:l:p:tu:v:VX", argv, argc, &arg)) != -2)
{
switch (ret)
{
case 'u':
uid = arg;
break;
+ case 'v':
+ yaz_log_init_level(yaz_log_mask_str(arg));
+ break;
case 'V':
show_version();
case 'X':