Added information about debugging

This commit is contained in:
Frank Morgner 2017-03-27 10:43:49 +02:00
parent 111ba6f555
commit 4b99169854
1 changed files with 17 additions and 3 deletions

View File

@ -17,7 +17,21 @@ What happens instead?
### Logs
Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.
Debug output is essential to identify the problem. You can enable debugging by
editing the file `opensc.conf`:
```
# A debug level of 3 catches most problems
# Some sensitive data may be logged, too, (e.g. PIN codes)
debug = 3;
```Paste Log output with less than 10 lines here```
# Where to write the debug output (default: `stdout`)
#debug_file = opensc-debug.log
```
Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs. Before pasting here, remove your sensitive data from your log (e.g. PIN
code or certificates).
```
Paste Log output with less than 10 lines here
```