Logs
Debug Flags
squid by arc46 supports two ways of determining what log statements should be written.
System properties
System properties determine what log statements are written for each and every request. All squid by arc46 debug flags are
prefixed with x_a46gh_squidx.debug.
Http Request query parameter
The caller may request logs for a specific request by adding a request parameter debug=constructor,generalInfo
.
Debug flags
constructor
generalInfo
Further debug flags are available if required for debugging purposes. Please contact Support if you believe you have a problem that would require further log statements.
Timestamp
ServiceNow only supports a granularity of seconds for the Create
column. This is often confusing as the execution
order of log statements is no longer accurate.
squid by arc46 therefore prefixes all log statements with the current timestamp in ms resolution, e.g.
Sorting by Message
will result in a correct ordering of log statements.
Please be advised that the timestamp squid by arc46 prefixes its log statements with, is in the timezone of the caller! This is seldom a problem. squid by arc46 callers are mainly technical accounts in sync with the timezone of the ServiceNow instance. If the (a) caller does have an other timezone configured, this will probably be source of confusion.