Autopsy
3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Logger.
Static Public Member Functions | |
static void | setLogDirectory (String directoryPath) |
static Logger | getLogger (String name) |
static Logger | getLogger (String name, String resourceBundleName) |
Private Member Functions | |
Logger (String name, String resourceBundleName) | |
Static Private Member Functions | |
static FileHandler | createFileHandler (String logDirectory, String fileName) |
Static Private Attributes | |
static final String | LOG_ENCODING = PlatformUtil.getLogFileEncoding() |
static final int | LOG_SIZE = 0 |
static final int | LOG_FILE_COUNT = 10 |
static final String | LOG_WITHOUT_STACK_TRACES = "autopsy.log" |
static final String | LOG_WITH_STACK_TRACES = "autopsy_traces.log" |
static final Handler | console = new java.util.logging.ConsoleHandler() |
static final Object | fileHandlerLock = new Object() |
static FileHandler | userFriendlyLogFile = createFileHandler(PlatformUtil.getLogDirectory(), LOG_WITHOUT_STACK_TRACES) |
static FileHandler | developersLogFile = createFileHandler(PlatformUtil.getLogDirectory(), LOG_WITH_STACK_TRACES) |
Autopsy specialization of the Java Logger class with custom file handlers.
Definition at line 33 of file Logger.java.
|
private |
Definition at line 151 of file Logger.java.
References org.sleuthkit.autopsy.coreutils.Version.Type.DEVELOPMENT, org.sleuthkit.autopsy.coreutils.Logger.fileHandlerLock, and org.sleuthkit.autopsy.coreutils.Version.getBuildType().
Referenced by org.sleuthkit.autopsy.coreutils.Logger.getLogger().
|
staticprivate |
Definition at line 45 of file Logger.java.
References org.sleuthkit.autopsy.coreutils.Logger.fileHandlerLock.
Referenced by org.sleuthkit.autopsy.coreutils.Logger.setLogDirectory().
|
static |
Factory method to retrieve a org.sleuthkit.autopsy.coreutils.Logger instance derived from java.util.logging.Logger. Hides the base class factory method.
name | A name for the logger. This should be a dot-separated name and should normally be based on the package name or class name. |
Definition at line 131 of file Logger.java.
References org.sleuthkit.autopsy.coreutils.Logger.Logger().
Referenced by org.sleuthkit.autopsy.directorytree.ExplorerNodeActionVisitor.FileSystemDetails.actionPerformed(), org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.AddContentToHashDbMenu.addFilesToHashSet(), org.sleuthkit.autopsy.actions.AddBlackboardArtifactTagAction.addTag(), org.sleuthkit.autopsy.actions.AddContentTagAction.addTag(), org.sleuthkit.autopsy.timeline.events.type.ArtifactEventType.AttributeEventDescription.buildEventDescription(), 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.actions.DeleteContentTagAction.doAction(), org.sleuthkit.autopsy.actions.DeleteBlackboardArtifactTagAction.doAction(), 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.casemodule.services.TagsManager.getPredefinedTagNames(), org.sleuthkit.autopsy.coreutils.JLnkParser.getStringAt(), org.sleuthkit.autopsy.actions.GetTagNameAndCommentDialog.GetTagNameAndCommentDialog(), org.sleuthkit.autopsy.actions.GetTagNameDialog.GetTagNameDialog(), org.sleuthkit.autopsy.casemodule.services.TagsManager.getTagNamesFromCurrentCase(), org.sleuthkit.autopsy.casemodule.services.TagsManager.getTagNamesFromTagsSettings(), 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.timeline.TimeLineController.selectEventIDs(), org.sleuthkit.autopsy.timeline.TimeLineController.selectTimeAndType(), 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 |
Factory method to retrieve a org.sleuthkit.autopsy.coreutils.Logger instance derived from java.util.logging.Logger. Hides the base class factory method.
name | A name for the logger. This should be a dot-separated name and should normally be based on the package name or class name. |
resourceBundleName | - name of ResourceBundle to be used for localizing messages for this logger. May be null if none of the messages require localization. |
Definition at line 147 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 108 of file Logger.java.
References org.sleuthkit.autopsy.coreutils.Logger.createFileHandler(), and org.sleuthkit.autopsy.coreutils.Logger.fileHandlerLock.
Referenced by org.sleuthkit.autopsy.casemodule.Case.changeCase().
|
staticprivate |
Definition at line 40 of file Logger.java.
|
staticprivate |
Definition at line 43 of file Logger.java.
|
staticprivate |
Definition at line 41 of file Logger.java.
Referenced by org.sleuthkit.autopsy.coreutils.Logger.createFileHandler(), org.sleuthkit.autopsy.coreutils.Logger.Logger(), and org.sleuthkit.autopsy.coreutils.Logger.setLogDirectory().
|
staticprivate |
Definition at line 35 of file Logger.java.
|
staticprivate |
Definition at line 37 of file Logger.java.
|
staticprivate |
Definition at line 36 of file Logger.java.
|
staticprivate |
Definition at line 39 of file Logger.java.
|
staticprivate |
Definition at line 38 of file Logger.java.
|
staticprivate |
Definition at line 42 of file Logger.java.
Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.