Difference between revisions of "Codemeter Enable Logging"

From Tuflow
Jump to navigation Jump to search
(Undo revision 15381 by Mitch3007 (talk))
Line 5: Line 5:
  
 
=Turn On Logging=
 
=Turn On Logging=
 +
<ol>
 
<li>Open the CodeMeter Control Centre.  This can be done via the icon on the taskbar:<br>
 
<li>Open the CodeMeter Control Centre.  This can be done via the icon on the taskbar:<br>
 
[[File:CodeMeter TaskBar.jpg]]
 
[[File:CodeMeter TaskBar.jpg]]

Revision as of 10:09, 10 April 2018

Introduction

By default Codemeter will log events, such as when TUFLOW licenses are being used and when they are returned to the dongle. This information can be viewed both via the Codemeter events tab and within the output produced by the cmDust utility. Both of these logs however are limited in the history of information they can provide.
This page contains instructions for enabling "Logging" and "License Tracking" in CodeMeter Control Centre. These are useful functionalities that can be used to check and monitor the licence allocation by CodeMeter over an extended period of time.

Turn On Logging

  1. Open the CodeMeter Control Centre. This can be done via the icon on the taskbar:
    CodeMeter TaskBar.jpg

    Or via the start menu:
    CodeMeter ProgramFiles.jpg
  2. Go to "File" and check "Logging".
  3. Codemeter Enable Logging 01.png
  4. Restart CodeMeter.
  5. Codemeter Enable Logging 05.png
  6. By default, CodeMeter will create .log files in "C:\ProgramData\CodeMeter\Logs". A log file record all the license access history and where applicable communication between network and client servers. It also records error messages if an access is denied.
  7. Codemeter Enable Logging 02.png

    Please note that logging is compatible for computers with Local Only, Network Only and a combination of Local and Network Licensing enabled.

    Turn On Licence Tracking for a Network Server

    Please note that License Tracking is only compatible with Network Licensing. i.e. for License Tracking to work you will need to have a valid TUFLOW Network License and Codemeter also needs to be Server configured.
    To turn on license tracking you need to update a variable within the Windows Registry.

  8. To do so type "regedit" in windows search bar and start up Registry Editor:
  9. Codemeter Enable Logging 03.png
  10. Navigate to "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WIBU-SYSTEMS\CodeMeter\Server\CurrentVersion". Double click the variable "LogLicenseTracking", or right click and "Modify". In the pop-up window, change the the Value data to "1"
  11. Codemeter Enable Logging 04.png
  12. Restart CodeMeter.
  13. Codemeter Enable Logging 05.png
  14. To view Licence Tracking, open CodeMeter "WebAdmin". Go to "License Monitoring" -> "License Tracking", select "Firm Code", "logging period" and "license" type. The number of used licenses will be shown as a bar graph. If any license request has been rejected during the selected period, they will be shown as red bars.
  15. Codemeter Enable Logging 06.png
  16. Click the bar to see the breakdown of the license useage.
  17. Codemeter Enable Logging 07.png
  18. More details are presented below the bar graph, including the lists of "Active User", "Rejected Requests" and "All Events".
  19. Codemeter Enable Logging 08.png

    By using these handy tools we hope it helps you to better understand your network license usage and assists license usage debugging. If you have any further questions please get in contact with us at support@tuflow.com Click the following link to head back to the Wiki Home Page