1. Support
  2. Troubleshooting

Card: retrieve CardID from log file

Context: HCP installation with IP card reader. Issue: How to enroll or verify an unknown Card ID

  • Open Linux Terminal on the HCP Gateway
  • Goto /opt/hcp/logs directory
  • Slide the card on the reader
  • Search the log file for the last CardReaderRequest
  • $ cat siteapp.log |grep card
[DEBUG] 2019-10-14 15:43:10.710 {5-214} RequestFilter - Incoming request from 192.168.1.70 to 192.168.1.40 (192.168.1.40): POST /card/
[DEBUG] 2019-10-14 15:43:10.877 {5-214} CardReaderRequest - Card reader request: cardId(cd)=0000000000000000000000000001682351682, ipReaderAddress(Mac)=801F12165F80
[WARN ] 2019-10-14 15:43:12.513 {5-214} HttpChannel - /api/v1/card/

  • The card ID can be retrieved above cardId(cd)=0000000000000000000000000001682351682 = 1682351682