Autopsy
4.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 | createFileHandlerWithoutTraces (String logDirectory) |
static FileHandler | createFileHandlerWithTraces (String logDirectory) |
Static Private Attributes | |
static final Handler | consoleHandler = new java.util.logging.ConsoleHandler() |
static FileHandler | developerFriendlyHandler = createFileHandlerWithTraces(PlatformUtil.getLogDirectory()) |
static final String | LOG_ENCODING = PlatformUtil.getLogFileEncoding() |
static final int | LOG_FILE_COUNT = 10 |
static final int | LOG_SIZE = 0 |
static final String | LOG_WITH_STACK_TRACES = "autopsy_traces.log" |
static final String | LOG_WITHOUT_STACK_TRACES = "autopsy.log" |
static final Map< String, Logger > | namesToLoggers = new HashMap<>() |
static FileHandler | userFriendlyHandler = createFileHandlerWithoutTraces(PlatformUtil.getLogDirectory()) |
Autopsy specialization of the Java Logger class with custom file handlers. 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 203 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 does not include stack traces.
logDirectory | The directory where the log files should reside. |
Definition at line 56 of file Logger.java.
Referenced by org.sleuthkit.autopsy.coreutils.Logger.setLogDirectory().
|
staticprivate |
Creates a custom file handler with a custom message formatter that incldues stack traces.
logDirectory | The directory where the log files should reside. |
Definition at line 85 of file Logger.java.
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 166 of file Logger.java.
Referenced by org.sleuthkit.autopsy.actions.DeleteContentTagAction.actionPerformed(), org.sleuthkit.autopsy.actions.DeleteBlackboardArtifactTagAction.actionPerformed(), org.sleuthkit.autopsy.casemodule.CaseCloseAction.actionPerformed(), org.sleuthkit.autopsy.datamodel.Reports.ReportNode.DeleteReportAction.actionPerformed(), org.sleuthkit.autopsy.directorytree.ExplorerNodeActionVisitor.FileSystemDetails.actionPerformed(), org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.AddContentToHashDbMenu.addFilesToHashSet(), org.sleuthkit.autopsy.casemodule.services.TagsManager.addPredefinedTagNames(), org.sleuthkit.autopsy.actions.AddContentTagAction.addTag(), org.sleuthkit.autopsy.actions.AddBlackboardArtifactTagAction.addTag(), org.sleuthkit.autopsy.casemodule.services.TagsManager.addTagNamesFromCurrentCase(), org.sleuthkit.autopsy.casemodule.services.TagsManager.addTagNamesFromTagsSettings(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.closeHashDatabases(), 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.HashDbManager.HashDbIndexer.doInBackground(), org.sleuthkit.autopsy.coreutils.ExecUtil.execute(), org.sleuthkit.autopsy.directorytree.DataResultFilterNode.GetPopupActionsDisplayableItemNodeVisitor.findLinked(), org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchContextMenuActionsProvider.getActions(), org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSetting(), org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSettings(), org.sleuthkit.autopsy.ingest.IngestServices.getLogger(), org.sleuthkit.autopsy.coreutils.UNCPathUtilities.getMappedDrives(), org.sleuthkit.autopsy.coreutils.JLnkParser.getStringAt(), org.sleuthkit.autopsy.actions.GetTagNameAndCommentDialog.GetTagNameAndCommentDialog(), org.sleuthkit.autopsy.actions.GetTagNameDialog.GetTagNameDialog(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.getUpdateableHashSets(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.HashSetTableModel.indexExists(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupModuleSettingsPanel.isHashDbIndexed(), org.sleuthkit.autopsy.coreutils.JLnkParser.JLnkParser(), org.sleuthkit.autopsy.coreutils.XMLUtil.loadDoc(), 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.readHashSetsConfigurationFromDisk(), 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.HashDbManager.writeHashDbsToDisk(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.writeHashSetConfigurationToDisk(), 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 183 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 126 of file Logger.java.
References org.sleuthkit.autopsy.coreutils.Logger.createFileHandlerWithoutTraces(), and org.sleuthkit.autopsy.coreutils.Logger.createFileHandlerWithTraces().
Referenced by org.sleuthkit.autopsy.casemodule.Case.changeCase().
|
staticprivate |
Definition at line 44 of file Logger.java.
|
staticprivate |
Definition at line 46 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 42 of file Logger.java.
|
staticprivate |
Definition at line 41 of file Logger.java.
|
staticprivate |
Definition at line 43 of file Logger.java.
|
staticprivate |
Definition at line 45 of file Logger.java.
Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.