Skip to content

Commit 50b1363

Browse files
olszomalmtrojnar
andauthored
Enhance libp11 logging system (#573)
Co-authored-by: Michał Trojnara <[email protected]>
1 parent e177b3b commit 50b1363

19 files changed

+397
-244
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,14 @@ The supported engine controls are the following.
159159
* **SO_PATH**: Specifies the path to the 'pkcs11-engine' shared library
160160
* **MODULE_PATH**: Specifies the path to the pkcs11 module shared library
161161
* **PIN**: Specifies the pin code
162-
* **VERBOSE**: Print additional details
162+
* **DEBUG_LEVEL**: Set the debug level: 0=emerg, 1=alert, 2=crit, 3=err, 4=warning, 5=notice (default), 6=info, 7=debug
163163
* **QUIET**: Do not print additional details
164164
* **LOAD_CERT_CTRL**: Load a certificate from token
165165
* **SET_USER_INTERFACE**: Set the global user interface
166166
* **SET_CALLBACK_DATA**: Set the global user interface extra data
167167
* **FORCE_LOGIN**: Force login to the PKCS#11 module
168168
* **RE_ENUMERATE**: re-enumerate the slots/tokens, required when adding/removing tokens/slots
169+
* **VLOG_A**: Set the logging callback
169170

170171
An example code snippet setting specific module is shown below.
171172

0 commit comments

Comments
 (0)