Enabling Logging on a Link OS Weblink compatible printer

Article ID: 98162172

Details


Description

Weblink logging can be used to identify connectivity issues when using the weblink feature on a Link-OS compatible printer.

This includes connecting to Zebra’s AirWatch Connector, SotiMobicontrol Connector and Profile Manager applications.

Applies to

Printers running Link-OS

Requires

A Link-OS compatible printer.

An application supporting bi-directional communications, such as Zebra Setup Utilities, to configure logging and receive the weblink log from the printer. Read More>>

 Procedure

To enable logging:

Logging is enabled using the weblink.logging.max_entries SGD command and restarting the printer.

Example commands to enabling logging are:

! U1 setvar "weblink.logging.max_entries" "600"

! U1 setvar "device.reset" ""


To view the log:

The log can be viewed using the weblink.logging.entries SGD command.

Example command to view the log is: 

! U1 getvar "weblink.logging.entries"

 

To disable logging:

Logging is disabled by setting the weblink.logging.max_entries to a value of 0 and restarting the printer.

Example commands to disable logging are:

! U1 setvar "weblink.logging.max_entries" "0"

! U1 setvar "device.reset" ""


Example log showing successful connection:

The printer contains Zebra SHA1 and a SHA2 certificates.

The log shows a connection attempt for each certificate where one will be successful and the other shall fail depending on whether the server side has a SHA1 or SHA2 certificate installed.
 

[04-18-2019 08:42:47.305][Info][00001003][Weblink] Starting Weblink for Connection 2
[04-18-2019 08:42:47.541][Info][00001006][conn2.1] Waiting for an IP (Main Connection) ...
[04-18-2019 08:42:58.711][Info][00001007][conn2.1] Obtained an IP (Main Connection).
[04-18-2019 08:42:58.719][Info][00001013][conn2.1] Attempting connection to https://weblink.westeurope.cloudapp.azure.com/zebra/weblink/
[04-18-2019 08:42:58.773][Info][00010044][conn2.1] Printer Cert #01 v3 Subject: C=US; ST=Illinois; O=Zebra Technologies; CN=LO5
[04-18-2019 08:42:58.776][Info][00010047][conn2.1] certificate start date: Jul 11 14:38:58 2017 GMT
[04-18-2019 08:42:58.779][Info][00010048][conn2.1] certificate expire date: Jul  9 14:38:58 2027 GMT
[04-18-2019 08:42:58.782][Info][00010045][conn2.1] certificate serial number: A5:02:88:D3:69:09:24:7B
[04-18-2019 08:42:58.786][Info][00010046][conn2.1] certificate fingerprint: 6D:F0:7F:B4:30:49:FF:F4:83:7A:16:44:45:C1:BA:DA:4D:8C:8F:42
[04-18-2019 08:42:59.095][Info][00010049][conn2.1] CA Cert #01 v3 Subject: C=US; ST=Illinois; O=Zebra Technologies; CN=Zebra Root
[04-18-2019 08:42:59.098][Info][0001004C][conn2.1] certificate start date: Jun 27 12:28:53 2016 GMT
[04-18-2019 08:42:59.100][Info][0001004D][conn2.1] certificate expire date: Jun  7 12:28:53 2096 GMT
[04-18-2019 08:42:59.103][Info][0001004A][conn2.1] certificate serial number: A5:02:88:D3:69:09:24:67
[04-18-2019 08:42:59.106][Info][0001004B][conn2.1] certificate fingerprint: B2:F7:5C:AD:F0:20:1F:78:C9:B8:90:A7:7A:73:48:71:3E:77:B5:27
[04-18-2019 08:42:59.110][Info][00010049][conn2.1] CA Cert #02 v3 Subject: C=US; ST=Illinois; O=Zebra Technologies; CN=AIT
[04-18-2019 08:42:59.113][Info][0001004C][conn2.1] certificate start date: Jun 27 12:42:04 2016 GMT
[04-18-2019 08:42:59.115][Info][0001004D][conn2.1] certificate expire date: Jun 17 12:42:04 2056 GMT
[04-18-2019 08:42:59.118][Info][0001004A][conn2.1] certificate serial number: A5:02:88:D3:69:09:24:68
[04-18-2019 08:42:59.121][Info][0001004B][conn2.1] certificate fingerprint: 5E:36:8E:61:2A:7A:E2:28:93:F3:5E:EA:78:12:D2:B1:FC:38:07:E4
[04-18-2019 08:42:59.124][Info][00010049][conn2.1] CA Cert #03 v3 Subject: C=US; ST=Illinois; O=Zebra Technologies; CN=Weblink
[04-18-2019 08:42:59.127][Info][0001004C][conn2.1] certificate start date: Jun 27 13:24:15 2016 GMT
[04-18-2019 08:42:59.130][Info][0001004D][conn2.1] certificate expire date: Jun 22 13:24:15 2036 GMT
[04-18-2019 08:42:59.134][Info][0001004A][conn2.1] certificate serial number: A5:02:88:D3:69:09:24:6E
[04-18-2019 08:42:59.136][Info][0001004B][conn2.1] certificate fingerprint: 74:D6:B0:C4:16:D5:B9:A8:45:94:DC:AC:F2:67:0A:9F:B7:FF:3A:4C
[04-18-2019 08:42:59.139][Info][00010049][conn2.1] CA Cert #04 v3 Subject: CN=zebradevice1
[04-18-2019 08:42:59.142][Info][0001004C][conn2.1] certificate start date: Dec 12 16:42:57 2012 GMT
[04-18-2019 08:42:59.145][Info][0001004D][conn2.1] certificate expire date: Dec  7 15:23:06 2037 GMT
[04-18-2019 08:42:59.148][Info][0001004A][conn2.1] certificate serial number: 73:00:00:00:0C:46:C6:F3:F9:E0:FD:CE:17:00:00:00:00:00:0C
[04-18-2019 08:42:59.151][Info][0001004B][conn2.1] certificate fingerprint: DA:E7:6D:6E:77:38:E9:30:64:72:7E:7F:19:B2:D2:EA:21:BA:6E:7B
[04-18-2019 08:42:59.154][Info][00010049][conn2.1] CA Cert #05 v3 Subject: CN=zebradevice
[04-18-2019 08:42:59.156][Info][0001004C][conn2.1] certificate start date: Dec  7 15:13:06 2012 GMT
[04-18-2019 08:42:59.159][Info][0001004D][conn2.1] certificate expire date: Dec  7 15:23:06 2037 GMT
[04-18-2019 08:42:59.162][Info][0001004A][conn2.1] certificate serial number: 55:12:24:B6:F8:43:77:97:4B:D2:BC:C9:B3:D3:3F:E5
[04-18-2019 08:42:59.165][Info][0001004B][conn2.1] certificate fingerprint: F4:9C:0D:61:F9:88:86:A7:CA:2D:40:18:F0:61:AD:40:69:F1:FA:A9
[04-18-2019 08:42:59.294][Info][0001003E][conn2.1] Connected to weblink.westeurope.cloudapp.azure.com (13.94.188.46) port 443 (#0)
[04-18-2019 08:42:59.365][Info][00010014][conn2.1] Using TLSv1
[04-18-2019 08:42:59.651][Info][00010018][conn2.1] Successfully set certificate verify locations
[04-18-2019 08:42:59.659][Info][80020016][conn2.1] SSLv3, TLS header, Certificate Status
[04-18-2019 08:42:59.662][Info][80020001][conn2.1] SSLv3, TLS handshake, Client hello
[04-18-2019 08:43:00.056][Info][80020002][conn2.1] SSLv3, TLS handshake, Server hello
[04-18-2019 08:43:00.059][Info][8002000B][conn2.1] SSLv3, TLS handshake, Certificate
[04-18-2019 08:43:00.104][Info][8002000C][conn2.1] SSLv3, TLS handshake, Server key exchange
[04-18-2019 08:43:00.124][Info][8002000D][conn2.1] SSLv3, TLS handshake, Request CERT
[04-18-2019 08:43:00.209][Info][8002000E][conn2.1] SSLv3, TLS handshake, Server finished
[04-18-2019 08:43:00.213][Info][8002000B][conn2.1] SSLv3, TLS handshake, Certificate
[04-18-2019 08:43:00.392][Info][80020010][conn2.1] SSLv3, TLS handshake, Client key exchange
[04-18-2019 08:43:00.534][Info][8002000F][conn2.1] SSLv3, TLS handshake, CERT verify
[04-18-2019 08:43:00.537][Info][80020001][conn2.1] SSLv3, TLS change cipher, Client hello
[04-18-2019 08:43:00.549][Info][80020014][conn2.1] SSLv3, TLS handshake, Finished
[04-18-2019 08:43:01.555][Info][80020002][conn2.1] SSLv3, TLS alert, Server hello
[04-18-2019 08:43:01.559][Error][82094416][conn2.1] error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
[04-18-2019 08:43:01.563][Info][00010039][conn2.1] Closing connection 0
[04-18-2019 08:43:01.581][Error][800C0000][conn2.1] Failed to connect (SP = 0, CU = 0, UW = 0, AC = 0, PC = 0)
[04-18-2019 08:43:01.588][Error][00001011][conn2.1] Failed to connect to https://weblink.westeurope.cloudapp.azure.com/zebra/weblink/ so trying http://www.zebra.com/apps/linktest
[04-18-2019 08:43:01.590][Info][00001013][conn2.1] Attempting connection to http://www.zebra.com/apps/linktest
[04-18-2019 08:43:01.645][Info][0001003E][conn2.1] Connected to www.zebra.com (23.198.64.201) port 80 (#0)
[04-18-2019 08:43:01.675][Info][00001012][conn2.1] HTTP/1.1 301 Moved Permanently
[04-18-2019 08:43:01.725][Info][0001003E][conn2.1] Connected to www.zebra.com (23.198.64.201) port 443 (#1)
[04-18-2019 08:43:01.728][Info][00010014][conn2.1] Using TLSv1
[04-18-2019 08:43:01.737][Info][00010039][conn2.1] Closing connection 1
[04-18-2019 08:43:01.742][Info][0000100F][conn2.1] Waiting 112 seconds before retrying connection to https://weblink.westeurope.cloudapp.azure.com/zebra/weblink/
[04-18-2019 08:44:53.748][Info][00001013][conn2.1] Attempting connection to https://weblink.westeurope.cloudapp.azure.com/zebra/weblink/
[04-18-2019 08:44:53.848][Info][00010044][conn2.1] Printer Cert #01 v3 Subject: C=US; ST=Illinois; L=Lincolnshire; CN=ZebraPrinter
[04-18-2019 08:44:53.850][Info][00010047][conn2.1] certificate start date: Dec 17 16:25:25 2012 GMT
[04-18-2019 08:44:53.853][Info][00010048][conn2.1] certificate expire date: Dec  7 15:23:06 2037 GMT
[04-18-2019 08:44:53.856][Info][00010045][conn2.1] certificate serial number: 3F:00:00:00:18:EF:C7:AB:5F:F2:FC:9D:C0:00:01:00:00:00:18
[04-18-2019 08:44:53.859][Info][00010046][conn2.1] certificate fingerprint: C1:52:9D:40:95:37:B9:83:EB:80:C2:6F:CD:7E:5A:94:07:7C:66:52
[04-18-2019 08:44:54.169][Info][00010049][conn2.1] CA Cert #01 v3 Subject: C=US; ST=Illinois; O=Zebra Technologies; CN=Zebra Root
[04-18-2019 08:44:54.172][Info][0001004C][conn2.1] certificate start date: Jun 27 12:28:53 2016 GMT
[04-18-2019 08:44:54.174][Info][0001004D][conn2.1] certificate expire date: Jun  7 12:28:53 2096 GMT
[04-18-2019 08:44:54.177][Info][0001004A][conn2.1] certificate serial number: A5:02:88:D3:69:09:24:67
[04-18-2019 08:44:54.180][Info][0001004B][conn2.1] certificate fingerprint: B2:F7:5C:AD:F0:20:1F:78:C9:B8:90:A7:7A:73:48:71:3E:77:B5:27
[04-18-2019 08:44:54.184][Info][00010049][conn2.1] CA Cert #02 v3 Subject: C=US; ST=Illinois; O=Zebra Technologies; CN=AIT
[04-18-2019 08:44:54.187][Info][0001004C][conn2.1] certificate start date: Jun 27 12:42:04 2016 GMT
[04-18-2019 08:44:54.189][Info][0001004D][conn2.1] certificate expire date: Jun 17 12:42:04 2056 GMT
[04-18-2019 08:44:54.192][Info][0001004A][conn2.1] certificate serial number: A5:02:88:D3:69:09:24:68
[04-18-2019 08:44:54.195][Info][0001004B][conn2.1] certificate fingerprint: 5E:36:8E:61:2A:7A:E2:28:93:F3:5E:EA:78:12:D2:B1:FC:38:07:E4
[04-18-2019 08:44:54.198][Info][00010049][conn2.1] CA Cert #03 v3 Subject: C=US; ST=Illinois; O=Zebra Technologies; CN=Weblink
[04-18-2019 08:44:54.201][Info][0001004C][conn2.1] certificate start date: Jun 27 13:24:15 2016 GMT
[04-18-2019 08:44:54.204][Info][0001004D][conn2.1] certificate expire date: Jun 22 13:24:15 2036 GMT
[04-18-2019 08:44:54.206][Info][0001004A][conn2.1] certificate serial number: A5:02:88:D3:69:09:24:6E
[04-18-2019 08:44:54.209][Info][0001004B][conn2.1] certificate fingerprint: 74:D6:B0:C4:16:D5:B9:A8:45:94:DC:AC:F2:67:0A:9F:B7:FF:3A:4C
[04-18-2019 08:44:54.212][Info][00010049][conn2.1] CA Cert #04 v3 Subject: CN=zebradevice1
[04-18-2019 08:44:54.215][Info][0001004C][conn2.1] certificate start date: Dec 12 16:42:57 2012 GMT
[04-18-2019 08:44:54.218][Info][0001004D][conn2.1] certificate expire date: Dec  7 15:23:06 2037 GMT
[04-18-2019 08:44:54.221][Info][0001004A][conn2.1] certificate serial number: 73:00:00:00:0C:46:C6:F3:F9:E0:FD:CE:17:00:00:00:00:00:0C
[04-18-2019 08:44:54.224][Info][0001004B][conn2.1] certificate fingerprint: DA:E7:6D:6E:77:38:E9:30:64:72:7E:7F:19:B2:D2:EA:21:BA:6E:7B
[04-18-2019 08:44:54.227][Info][00010049][conn2.1] CA Cert #05 v3 Subject: CN=zebradevice
[04-18-2019 08:44:54.229][Info][0001004C][conn2.1] certificate start date: Dec  7 15:13:06 2012 GMT
[04-18-2019 08:44:54.232][Info][0001004D][conn2.1] certificate expire date: Dec  7 15:23:06 2037 GMT
[04-18-2019 08:44:54.235][Info][0001004A][conn2.1] certificate serial number: 55:12:24:B6:F8:43:77:97:4B:D2:BC:C9:B3:D3:3F:E5
[04-18-2019 08:44:54.238][Info][0001004B][conn2.1] certificate fingerprint: F4:9C:0D:61:F9:88:86:A7:CA:2D:40:18:F0:61:AD:40:69:F1:FA:A9
[04-18-2019 08:44:54.320][Info][0001003E][conn2.1] Connected to weblink.westeurope.cloudapp.azure.com (13.94.188.46) port 443 (#0)
[04-18-2019 08:44:54.323][Info][00010014][conn2.1] Using TLSv1
[04-18-2019 08:44:54.358][Info][00010018][conn2.1] Successfully set certificate verify locations
[04-18-2019 08:44:54.363][Info][80020016][conn2.1] SSLv3, TLS header, Certificate Status
[04-18-2019 08:44:54.367][Info][80020001][conn2.1] SSLv3, TLS handshake, Client hello
[04-18-2019 08:44:54.439][Info][80020002][conn2.1] SSLv3, TLS handshake, Server hello
[04-18-2019 08:44:54.442][Info][8002000B][conn2.1] SSLv3, TLS handshake, Certificate
[04-18-2019 08:44:54.482][Info][8002000C][conn2.1] SSLv3, TLS handshake, Server key exchange
[04-18-2019 08:44:54.501][Info][8002000D][conn2.1] SSLv3, TLS handshake, Request CERT
[04-18-2019 08:44:54.584][Info][8002000E][conn2.1] SSLv3, TLS handshake, Server finished
[04-18-2019 08:44:54.617][Info][8002000B][conn2.1] SSLv3, TLS handshake, Certificate
[04-18-2019 08:44:54.800][Info][80020010][conn2.1] SSLv3, TLS handshake, Client key exchange
[04-18-2019 08:44:55.349][Info][8002000F][conn2.1] SSLv3, TLS handshake, CERT verify
[04-18-2019 08:44:55.352][Info][80020001][conn2.1] SSLv3, TLS change cipher, Client hello
[04-18-2019 08:44:55.362][Info][80020014][conn2.1] SSLv3, TLS handshake, Finished
[04-18-2019 08:44:55.432][Info][80020001][conn2.1] SSLv3, TLS change cipher, Client hello
[04-18-2019 08:44:55.440][Info][80020014][conn2.1] SSLv3, TLS handshake, Finished
[04-18-2019 08:44:55.444][Info][00010024][conn2.1] SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
[04-18-2019 08:44:55.448][Info][0001001C][conn2.1] Server certificate subject: C=GB; ST=BUCKINGHAMSHIRE; L=BOURNE END; O=ZEBRA TECHNOLOGIES; OU=SOFTWARE; CN=weblink.westeurope.cloudapp.azure.com; emailAddress=softpm@zebra.com
[04-18-2019 08:44:55.451][Info][0001001D][conn2.1] Server certificate start date: Dec 13 17:12:07 2012 GMT
[04-18-2019 08:44:55.454][Info][0001001E][conn2.1] Server certificate expire date: Dec  7 15:23:06 2037 GMT
[04-18-2019 08:44:55.457][Info][00010013][conn2.1] Server certificate common name: weblink.westeurope.cloudapp.azure.com (matched)
[04-18-2019 08:44:55.461][Info][0001002E][conn2.1] Server certificate serial number: 3F:00:00:2F:58:A2:7E:C7:AE:E7:A2:86:66:00:01:00:00:2F:58
[04-18-2019 08:44:55.464][Info][0001002F][conn2.1] Server certificate fingerprint: 4A:53:E2:BD:BF:F9:48:ED:71:58:62:89:F2:A6:3F:1B:01:9C:7D:4C
[04-18-2019 08:44:55.467][Info][00010030][conn2.1] Server certificate issuer: CN=zebradevice1
[04-18-2019 08:44:55.470][Info][00010038][conn2.1] Server certificate verify ok
[04-18-2019 08:44:55.541][Info][00001012][conn2.1] HTTP/1.1 101 Switching Protocols
[04-18-2019 08:44:55.545][Info][00010007][conn2.1] Content Length is 0
[04-18-2019 08:44:55.550][Info][0000101B][conn2.1] Successfully connected

 

Helpful Links

ZPL Programming Manual Read More>>

+ Product Codes

  • All Surface RFID Label Solution
  • ZD410 Series
  • ZD410D
  • ZD420 Series
  • ZD420-HC
  • ZD420C
  • ZD500 Desktop Printer
  • ZD500 Desktop Printer
  • ZD500R RFID Printers
  • ZD500R RFID Printers
  • ZQ500 Series Mobile Printers
  • ZQ510 Mobile Printer
  • ZQ520 Mobile Printer
  • ZT200 Series Industrial Printers
  • ZT210 Industrial Printer
  • ZT220 Industrial Printer
  • ZT230 Industrial Printer
  • ZT400 Series Industrial Printers
  • ZT400 Series RFID Printers
  • ZT410 Industrial Printer
  • ZT410 RFID Industrial Printer
  • ZT420 Industrial Printer
  • ZT420 RFID Industrial Printer
  • ZT500 Industrial Printers
  • ZT510 Industrial Printer
  • ZT600 Series Industrial Printers
  • ZT610 Industrial Printer
  • ZT620 Industrial Printer
  • iMZ Series Mobile Printers
  • iMZ220 Mobile Printer
  • iMZ320 Mobile Printer