p11-log: A PKCS#11 log module p11-log is a PKCS#11 module which filters requests for any other module and prints out the calls either to stderr or a file. This is only useful to developers working with PKCS#11. Don't use this unless you understand why you want to. Here's how to log all calls to firefox's libnssckbi.so module: # export P11_LOG_MODULE=/usr/lib/firefox/libnssckbi.so # export P11_LOG_FILE=/tmp/p11.log # mv /usr/lib/firefox/libnssckbi.so /usr/lib/firefox/libnssckbi.so.real # ln -s /usr/lib/p11-log.so /usr/lib/firefox/libnssckbi.so # firefox # mv /usr/lib/firefox/libnssckbi.so.real /usr/lib/firefox/libnssckbi.so