Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Logger.
Static Public Member Functions | |
synchronized static Logger | getLogger (String name) |
synchronized static Logger | getLogger (String name, String resourceBundleName) |
synchronized static void | setLogDirectory (String directoryPath) |
Private Member Functions | |
Logger (String name, String resourceBundleName) | |
Static Private Member Functions | |
static FileHandler | createFileHandlerWithTraces (String logDirectory) |
Static Private Attributes | |
static final Handler | consoleHandler = new java.util.logging.ConsoleHandler() |
static final String | LOG_ENCODING = PlatformUtil.getLogFileEncoding() |
static final String | LOG_FILE_NAME = "autopsy.log" |
static final int | LOG_SIZE = 0 |
static FileHandler | logFileHandler = createFileHandlerWithTraces(PlatformUtil.getLogDirectory()) |
static final Map< String, Logger > | namesToLoggers = new HashMap<>() |
Autopsy specialization of the Java Logger class with a custom file handler. Note that the custom loggers are not obtained from the global log manager.
Definition at line 36 of file Logger.java.
|
private |
Constructs a customized logger.
name | A name for the logger. This should normally be a dot-separated name based on a package name or class name. |
resourceBundleName | Name of ResourceBundle to be used for localizing messages for this logger. May be null. |
Definition at line 160 of file Logger.java.
References org.sleuthkit.autopsy.coreutils.Version.Type.DEVELOPMENT, and org.sleuthkit.autopsy.coreutils.Version.getBuildType().
Referenced by org.sleuthkit.autopsy.coreutils.Logger.getLogger().
|
staticprivate |
Creates a custom file handler with a custom message formatter that includes stack traces.
logDirectory | The directory where the log files should reside. |
Definition at line 53 of file Logger.java.
References org.sleuthkit.autopsy.core.UserPreferences.getLogFileCount().
Referenced by org.sleuthkit.autopsy.coreutils.Logger.setLogDirectory().
|
static |
Finds or creates a customized logger. Hides the base class factory method.
name | A name for the logger. This should normally be a dot-separated name based on a package name or class name. |
Definition at line 124 of file Logger.java.
Referenced by org.sleuthkit.autopsy.actions.AddBookmarkTagAction.actionPerformed(), org.sleuthkit.autopsy.actions.DeleteContentTagAction.actionPerformed(), org.sleuthkit.autopsy.actions.DeleteBlackboardArtifactTagAction.actionPerformed(), org.sleuthkit.autopsy.datamodel.Reports.ReportNode.DeleteReportAction.actionPerformed(), org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.AddContentToHashDbMenu.addFilesToHashSet(), org.sleuthkit.autopsy.actions.AddBlackboardArtifactTagAction.addTag(), org.sleuthkit.autopsy.actions.AddContentTagAction.addTag(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.cancel(), org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.close(), org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.close(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.closeHashDatabases(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.configureSettings(), org.sleuthkit.autopsy.datamodel.Reports.ReportNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.TagNameNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.ContentTagNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.ExtractedContent.ArtifactFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.BlackboardArtifactTagNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.TagTypeNodeFactory.createNodeForKey(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactTagNode.createSheet(), org.sleuthkit.autopsy.modules.hashdatabase.ImportCentralRepoDbProgressDialog.CentralRepoImportWorker.deleteIncompleteSet(), org.sleuthkit.autopsy.actions.GetTagNameDialog.display(), org.sleuthkit.autopsy.actions.GetTagNameAndCommentDialog.display(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDbIndexer.doInBackground(), org.sleuthkit.autopsy.livetriage.CreateLiveTriageDriveAction.CopyFilesWorker.done(), org.sleuthkit.autopsy.modules.hashdatabase.ImportCentralRepoDbProgressDialog.CentralRepoImportWorker.done(), org.sleuthkit.autopsy.coreutils.ExecUtil.execute(), org.sleuthkit.autopsy.directorytree.DataResultFilterNode.GetPopupActionsDisplayableItemNodeVisitor.findLinked(), org.sleuthkit.autopsy.report.taggedhashes.AddTaggedHashesToHashDb.generateReport(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.getAllHashSets(), org.sleuthkit.autopsy.actions.AddTagAction.TagMenu.getAndAddTag(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.getCentralRepoHashSetsFromDatabase(), org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSetting(), org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSettings(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.getKnownBadFileHashSets(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.getKnownFileHashSets(), org.sleuthkit.autopsy.ingest.IngestServices.getLogger(), org.sleuthkit.autopsy.coreutils.UNCPathUtilities.getMappedDrives(), org.sleuthkit.autopsy.coreutils.JLnkParser.getStringAt(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.getUpdateableHashSets(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupModuleSettingsPanel.isHashDbValid(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.HashSetTableModel.isValid(), org.sleuthkit.autopsy.coreutils.JLnkParser.JLnkParser(), org.sleuthkit.autopsy.coreutils.XMLUtil.loadDoc(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.loadHashsetsConfiguration(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.MessageType.loadIcon(), org.sleuthkit.autopsy.coreutils.ModuleSettings.makeConfigFile(), org.sleuthkit.autopsy.actions.GetTagNameDialog.okButtonActionPerformed(), org.sleuthkit.autopsy.directorytree.DataResultFilterNode.GetPreferredActionsDisplayableItemNodeVisitor.openChild(), org.sleuthkit.autopsy.directorytree.DataResultFilterNode.GetPreferredActionsDisplayableItemNodeVisitor.openParent(), org.sleuthkit.autopsy.report.ArtifactSelectionDialog.populateList(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.propertyChange(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.removeHashDatabaseNoSave(), org.sleuthkit.autopsy.coreutils.ModuleSettings.removeProperty(), org.sleuthkit.autopsy.coreutils.XMLUtil.saveDoc(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.saveSettings(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.searchForFile(), org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSetting(), org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSettings(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.updateComponentsForSelection(), org.sleuthkit.autopsy.datamodel.Tags.TagNameNode.updateDisplayName(), org.sleuthkit.autopsy.datamodel.Tags.ContentTagTypeNode.updateDisplayName(), org.sleuthkit.autopsy.datamodel.Tags.BlackboardArtifactTagTypeNode.updateDisplayName(), org.sleuthkit.autopsy.datamodel.Installer.validate(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupModuleSettingsPanel.validSetsOnly(), org.sleuthkit.autopsy.directorytree.ExplorerNodeActionVisitor.visit(), and org.sleuthkit.autopsy.coreutils.XMLUtil.xmlIsValid().
|
static |
Finds or creates a customized logger. Hides the base class factory method.
name | A name for the logger. This should normally be a dot-separated name based on a package name or class name. |
resourceBundleName | Name of ResourceBundle to be used for localizing messages for this logger. May be null. |
Definition at line 141 of file Logger.java.
References org.sleuthkit.autopsy.coreutils.Logger.Logger().
|
static |
Sets the log directory where the log files will be written.
directoryPath | The path to the desired log directory as a string. |
Definition at line 89 of file Logger.java.
References org.sleuthkit.autopsy.coreutils.Logger.createFileHandlerWithTraces().
Referenced by org.sleuthkit.autopsy.casemodule.Case.close(), and org.sleuthkit.autopsy.casemodule.Case.openServices().
|
staticprivate |
Definition at line 42 of file Logger.java.
|
staticprivate |
Definition at line 38 of file Logger.java.
|
staticprivate |
Definition at line 40 of file Logger.java.
|
staticprivate |
Definition at line 39 of file Logger.java.
|
staticprivate |
Definition at line 43 of file Logger.java.
|
staticprivate |
Definition at line 41 of file Logger.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.