|
Public Member Functions |
| LoggingClient () |
| LoggingClient (LogFrame frame, LogTypeHelper logLevel, LogTypeHelper discardLevel, boolean unlimited) |
void | start () throws Exception |
void | stop () throws Exception |
void | pause () throws Exception |
void | resume () throws Exception |
void | connect (boolean connectEngine) |
void | connect () |
JScrollPane | getLogTableScroolP () |
LogEntryTable | getLogEntryTable () |
void | showDetailedLogInfo () |
void | setLogDetailContent (ILogEntry log) |
void | connLCEngDisconnect (WindowEvent arg1) |
JScrollPane | getLogDetailScrollPane () |
LCEngine | getEngine () |
LogTableDataModel | getLCModel1 () |
void | loggingClient_ComponentResized (ComponentEvent e) |
void | enableSearchNext (boolean enable) |
void | animateProgressBar (String text, int min, int max) |
void | moveProgressBar (int newPos) |
void | animateProgressBar (String text) |
void | freezeProgressBar () |
boolean | isConnected () |
int | getDiscardLevel () |
void | logEntryReceived (ILogEntry logEntry) |
void | reportStatus (String status) |
void | acsLogConnEstablished () |
void | acsLogConnDisconnected () |
void | acsLogConnLost () |
void | acsLogConnConnecting () |
void | acsLogConnSuspended () |
void | acsLogsDelay () |
void | showDBStatus (ImageIcon icon, String msg) |
UserPreferences | getPrefs () |
boolean | isPaused () |
void | hideExitMenu (boolean hide) |
void | close (boolean sync) |
void | enableFiltersWidgets (boolean enable) |
void | errorReceived (String xml) |
StatsDlg | getStatisticDialog () |
Override void | setEnabled (boolean enabled) |
ErrorBrowserDlg | getErrorDialog () |
void | addErrorTab (String stackID) |
ZoomManager | getZoomManager () |
LogToolBar | getToolBar () |
ContainerServicesBase | getContainerServices () |
boolean | inDebugMode () |
Static Public Attributes |
final LogTypeHelper | DEFAULT_LOGLEVEL = LogTypeHelper.INFO |
final LogTypeHelper | DEFAULT_DISCARDLEVEL = LogTypeHelper.DEBUG |
Protected Attributes |
ContainerServicesBase | containerServices = null |
Private Member Functions |
void | disconnect () |
void | connFields (java.awt.event.ActionEvent arg1) |
void | showTableFiltersDialog (java.awt.event.ActionEvent arg1) |
void | setTableFilterLbl () |
void | setNumberOfLogsLbl () |
void | setEngineFilterLbl () |
JPanel | getJFrameContentPane () |
void | handleException (java.lang.Throwable exception) |
void | initConnections () throws java.lang.Exception |
void | initialize (LogTypeHelper logLevel, LogTypeHelper discardLevel, boolean unlimited) |
JPanel | getJPanel2 () |
JPanel | getDeatailedInfoPanel () |
JPanel | getStatusLinePnl () |
javax.swing.JScrollPane | getStatusAreaPanel () |
JSplitPane | getJSplitPane1 () |
JSplitPane | getTableDetailsSplitPane () |
SmartTextArea | getStatusArea () |
void | setLCModel1 (LogTableDataModel newValue) |
void | initAudience () |
void | showEngineFiltersDialog () |
Private Attributes |
JLabel | audienceLbl = new JLabel() |
JLabel | engineFiltersLbl = new JLabel() |
JLabel | tableFiltersLbl = new JLabel() |
JLabel | maxNumOfLogsLbl = new JLabel() |
ArchiveConnectionManager | archive |
UserPreferences | userPreferences = new UserPreferences(0,100000,Integer.MAX_VALUE,Integer.MAX_VALUE) |
JPanel | ivjJPanel2 = null |
JPanel | detailedInfoPanel = null |
DetailedLogTable | detailedLogTable = new DetailedLogTable() |
JPanel | statusLinePnl = null |
JScrollPane | statusAreaPanel = null |
JScrollPane | detailedInfoScrollPane = null |
JSplitPane | ivjJSplitPane1 = null |
JSplitPane | tableDetailsSplitPane = null |
JScrollPane | scrollLogTable = null |
LogEntryTable | logEntryTable = null |
SmartTextArea | ivjStatusArea = null |
JPanel | ivjJFrameContentPane = null |
ErrorLogDialog | errorDialog = new ErrorLogDialog(null,"jlog: Error log", false) |
JProgressBar | progressBar = new JProgressBar(JProgressBar.HORIZONTAL) |
ZoomManager | zoom = new ZoomManager() |
ManualZoomDlg | manualZoomDlg |
boolean | isConnected = false |
volatile boolean | isStopped = true |
SearchDialog | searchDialog |
StatsDlg | statsDlg |
QueryDlg | databaseDlg = null |
EventHandler | eventHandler = new EventHandler() |
LCEngine | engine = null |
LogTableDataModel | tableModel = null |
final int | CONNECTED_ICON = 0 |
final int | CONNECTING_ICON = 1 |
final int | DISCONNECTED_ICON = 2 |
final int | SUSPENDED_ICON = 3 |
final int | DELAY_ICON = 4 |
ImageIcon[] | connectionStatusIcons |
JLabel | connectionStatusLbl |
JLabel | connectionDBLbl |
LogToolBar | toolBar |
LogNavigationBar | navigationToolbar |
LogMenuBar | menuBar = new LogMenuBar() |
FilterChooserDialog | engineFiltersDlg = null |
ErrorBrowserDlg | errorBrowserDialog = null |
FilterChooserDialog | filterChooserDialog = null |
LogFrame | logFrame = null |
final boolean | debugMode = Boolean.getBoolean(DEBUG_MODE_PROPERTY) |
Static Private Attributes |
final String | AUDIENCE_PROPERTY = "jlog.mode.operator" |
final String | DEBUG_MODE_PROPERTY = "alma.acs.jlog.debugMode" |
An important issue is the format of the Log Entry Message produced by the Logging Service. Certain characters ('<', '>', '&', ''', '"') need to be escaped because they delineate markup data from character data and cause the following exception in ACSLogParserDOM class: org.xml.sax.SAXParseException: The content beginning with '<' is not legal markup. One solution is replacing the character with the appropriate html substitute <. Another solution is keeping it in a CDATA section: <[!CDATA[the log entry message]]>.