Diagnostics and Logs
  • Request
    a trial
  • Request
    a demo
  • Request
    a quote
Search
OpenNavigationArticle
Sensitive Data Discovery Tool
OpenNavigationArticle
Open Navigation Article
Diagnostics and Logs
  • Request
    a trial
  • Request
    a demo
  • Request
    a quote
Diagnostics and Logs

Diagnostics and Logs

SDDT logs its own activity using NLog. This page describes where SDDT writes logs, what they contain, and what they do not contain.

Log Location and Rotation

SDDT writes its main log to %LocalAppData%\HushHush\DiscoveryTool\logs\common.txt. It rolls this log daily and keeps the last 10 archives by default.

SDDT also writes NLog's own internal diagnostic log to %LocalAppData%\HushHush\DiscoveryTool\logs\nlog-internal.log.

Logging Level

SDDT's minimum logging level is Debug. The log level, the retention (maxArchiveFiles, 10 by default), and the log folder are set in SensitiveDataDiscovery.exe.config in the SDDT installation folder. Editing the file requires administrator rights, and an upgrade may overwrite your changes.

What Gets Logged

SDDT's log records:

  • environment and prerequisite checks, such as installed assemblies, registry keys, and installed database providers;
  • the package-generation lifecycle, such as start and end times, table names, and package counts;
  • the analysis lifecycle, such as table names, row counts, and elapsed time.

Sample Values

SDDT does not write the column values it reads during sample analysis to the log.

An error from the underlying database driver can still include a value in its own error message — for example, a type-conversion error that quotes the value it failed on. This is not something SDDT chooses to log; it can happen indirectly if this kind of error occurs during analysis.

Because a database driver error can quote a source value, restrict access to the log folder to the people who run SDDT, and delete old logs when you no longer need them.

Connection Credentials

SDDT does not write a connection's user name or password in plain text. It encrypts these two fields before writing a connection string to any of the following:

  • the project file (.ssdtproj);
  • the saved-connections file (.con);
  • the crash-recovery file;
  • the log.

Other parts of a connection string, such as the server address, database name, and port, are written as plain text. The connection password in a generated SSIS package is also stored in encrypted form.

This encryption is tied to your Windows account. Anyone who can run code as that same Windows account on the same machine can decrypt it, so it protects the file from being read elsewhere, not from another process running under your own account.

Recovery and Saved-Connections Files

While an analysis is running, SDDT writes a crash-recovery file, %USERPROFILE%\Documents\HushHush\Recovery\<guid>.dat. It is a plain XML file and contains:

  • the type and connection string of the source and destination connections; only the user name and password are encrypted;
  • for each table that has been analyzed: its name and schema, and column metadata (name, type, size, primary key, foreign key, identity);
  • for each column: the detected sensitive data type and its score.

The recovery file does not contain sample values.

SDDT deletes the recovery file when analysis finishes normally.

SDDT also saves connection credentials in a saved-connections file (.con) in the same folder after you connect, so that you do not have to enter them again. The user name and password in this file are encrypted.

Viewing Logs

SDDT does not include a log viewer. Open the log files directly from their folder.

Select Help > Diagnostics to open a window that checks your environment — installed assemblies, registry keys, and installed database providers. This is a prerequisite checker, not a log viewer, and it does not show the contents of the log files.

About Hush-Hush Contact Us

E-mail: info@mask-me.net

tel: 855.968.4874

Privacy Policy Terms of Use