Jump to content

Module Logging timing granularity


jimlongo

Recommended Posts

When trying to develop a module in 8.x I am getting all the logging on the minute.

This is pretty useless when trying to decipher the order things are happening.

i was hoping i could change the resolution of the table to milliseconds, which i did, but this has zero effect.  It doesn't record the milliseconds and the output in the table ... it doesn't even have seconds granularity, just hh.mm

Is there some way to change this setting to make it useful?

Link to comment
Share on other sites

34 minutes ago, jimlongo said:

Is there some way to change this setting to make it useful?

No. You don't define the datetime, WHMCS does. While the second is stored in the database, WHMCS does not output it. Since the the module debug log page is not an editable template file, you cannot change the output value. Well, technically you can change it by JS, but that seems unreasonable to me.

Instead, I would just store the timestamp somewhere else (action or request).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated