Wikis - Page

TIP: To log or not to log

0 Likes

Did you know that you can now do logging from within the Dimensions CM Desktop Client without having to stop/restart your Dimensions CM Listener or Processes?

This is one of the new features of Dimensions 14.1.

 

So what do you need to do?

  • Make sure that you have a logs directory under the <$DM_ROOT>\cm directory on the Dimensions CM Server.
    • By default, this is where the DBIO log file will be written.
  • Now, from the Desktop Client, enable the Console view.
  • In the Console view, type in the following:

set cmd_trace on /user_filename="<drive>:\<path to a directory on the server>\cmdLogfile.log"

set dbio_trace on

set sdp_trace on /user_directory="<drive>:\<path to a directory on the server>"

Note:  All logs will be written to the Server.

  • Now, reproduce the error and/or for simplicity sake, just change your stream or project.
  • When done, type the following in the Console view to disable logging for this session:

set cmd_trace off

set dbio_trace off

set sdp_trace off

So what will this give me?

You will now have 3 files which will aid us in helping you to debug your issue.  Providing these files to Serena Support will help us to determine what our next steps are.

What do these log files provide you and how is this different than the tracing which is enabled in the Listener.dat file?

The listener.dat file tracing, also known as DFS tracing, helps us to debug connection and or process problems when first attempting to login or starting up Dimensions.

The cmd_trace logging provides us with connection details and the command which was ran by the user.  This records the commands similar to what you see in the Console view of the Desktop Client.

The dbio_trace and sdp_trace files provide us with details of the commands which we use to communicate between the Dimensions Server and the database.  Both files together give us a broader, more extensive view of what is happening.

Also, please check out our Solution S140288 on the Knowledgebase.

There is also a KBTV Video to help if needed.

 

 

 

 

 

Tags:

Labels:

How To-Best Practice
Support Tips/Knowledge Docs
Support Tip
Comment List
Related
Recommended