Difference between revisions of "Codemeter Enable Logging"

From Tuflow
Jump to navigation Jump to search
Line 20: Line 20:
 
<li>By default, CodeMeter will create .log files in "C:\ProgramData\CodeMeter\Logs". A log file record all the access history between a network server and clients. It also records error messages if an access is denied.</li>
 
<li>By default, CodeMeter will create .log files in "C:\ProgramData\CodeMeter\Logs". A log file record all the access history between a network server and clients. It also records error messages if an access is denied.</li>
 
[[File:Codemeter_Enable_Logging_02.png|800px]]
 
[[File:Codemeter_Enable_Logging_02.png|800px]]
<br>
+
<br><br>
Please note that logging can be enabled on computers with both Local and Network Licensing enabled.
+
Please note that logging is compatible for computers with Local Only, Network Only and a combination of Local and Network Licensing enabled.
 
</ol>
 
</ol>
 
<br>
 
<br>

Revision as of 18:23, 9 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 the 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 access history between a network server and clients. 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 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.
  1. To do so type "regedit" in windows search bar and start up Registry Editor:
  2. Codemeter Enable Logging 03.png
  3. 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"
  4. Codemeter Enable Logging 04.png
  5. Restart CodeMeter.
  6. Codemeter Enable Logging 05.png
  7. 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.
  8. Codemeter Enable Logging 06.png
  9. Click the bar to see the breakdown of the license useage.
  10. Codemeter Enable Logging 07.png
  11. More details are presented below the bar graph, including the lists of "Active User", "Rejected Requests" and "All Events".
  12. 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