Qz tray and azure Application insights

23 views
Skip to first unread message

Pablo Gabriel Arenas

unread,
Jun 10, 2021, 8:06:51 PM6/10/21
to qz-print
Hello, I am currently working with Azure application insights in order to log any qz tray error into our azure resource, I have added a few hooks into our JS qz tray implementation, what we are logging at the moment are the regular errors thrown by qztray.js, my question is; 
is there a way to increase the log level to verbose in order to get more details from the library itself? 

I read that launching the application from command line will expose the java console increasing the log level to verbose, but, would this impact the errors thrown by the javascript library?

Thank you!

Tres Finocchiaro

unread,
Jun 11, 2021, 1:15:53 AM6/11/21
to Pablo Gabriel Arenas, qz-print
Currently, there's no way to forward the Java events to JavaScript although we've had this request before: https://github.com/qzind/tray/issues/318 but it has not yet been implemented.

In regards to JavaScript verbosity: qz.api.showDebug(true); will show the highest level of JavaScript verbosity.

-Tres

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/1b466762-4226-4531-95ca-9313cf6b7215n%40googlegroups.com.

Pablo Gabriel Arenas

unread,
Jun 11, 2021, 10:33:32 AM6/11/21
to qz-print
Good, thanks, so, about Javascript verbosity showDebug(true); would this be only to display the highest level on DevTools console?
or would this also affect the errors thrown from code and include more info?

in other words, is this only to hide/show in devTools console with a higher level of verbosity?

Thank you for your reply!

Tres Finocchiaro

unread,
Jun 11, 2021, 11:31:28 AM6/11/21
to Pablo Gabriel Arenas, qz-print
in other words, is this only to hide/show in devTools console with a higher level of verbosity?
 
Correct, that's it.  You won't get more exception details, hence the #318 bug report to request more.


Pablo Gabriel Arenas

unread,
Jun 11, 2021, 5:40:50 PM6/11/21
to qz-print
Got it!
thank you so much for your help!

Reply all
Reply to author
Forward
0 new messages