/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/jdbc/ |
H A D | SQLTraceListener.java | 45 * record objects. SQL trace record objects contain SQL statements 53 * @param record SQLTraceRecord that has information related 56 public void sqlTrace(SQLTraceRecord record); argument
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/util/ |
H A D | VerifierFormatter.java | 60 public synchronized String format(LogRecord record) { argument 65 String message = formatMessage(record); 66 sb.append(record.getLevel().getLocalizedName()); 70 if (record.getThrown() != null) { 74 record.getThrown().printStackTrace(pw);
|
/glassfish-3.1.2/webservices/soap-tcp/src/main/java/org/glassfish/webservices/transport/tcp/ |
H A D | WSTCPAdapterRegistryImpl.java | 84 RegistryRecord record; 87 record = registry.get(requestURI.path); 89 record = registry.get("/"); 92 if (record != null) { 93 if (record.adapter == null) { 95 record.adapter = createWSAdapter(requestURI.path, 96 record.wsEndpointDescriptor); 102 record.wsEndpointDescriptor.getWSServiceName()), e); 105 return record.adapter; 123 RegistryRecord record [all...] |
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/util/ |
H A D | SQLTraceDelegator.java | 52 * sql record tracing. The registry allows multiple listeners 91 public void sqlTrace(SQLTraceRecord record) { argument 94 listener.sqlTrace(record); 98 if (record != null) { 99 record.setPoolName(poolName); 100 String methodName = record.getMethodName(); 103 Object[] params = record.getParams(); 121 * Check if the method name from the sql trace record can be used to
|
H A D | SQLTraceLogger.java | 51 * sql record tracing. 68 public void sqlTrace(SQLTraceRecord record) { argument 69 _logger.log(Level.FINE, record.toString());
|
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/logger/ |
H A D | FileLoggerHandler.java | 96 private void writeLogRecord(LogRecord record) { argument 98 printWriter.write(getFormatter().format(record)); 104 // write the first record 111 // write FLUSH_FREQUENCY record(s) more 141 * @param record The log record to be written out. 144 public void publish(LogRecord record) { argument 152 if ( !getFilter().isLoggable(record) ) 157 pendingRecords.add(record); 161 pendingRecords.put(record); [all...] |
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/ |
H A D | JdbcObjectsFactory.java | 135 SQLTraceRecord record = new SQLTraceRecord(); 136 record.setMethodName(method.getName()); 137 record.setParams(args); 138 record.setClassName(actualObject.getClass().getName()); 139 record.setThreadName(Thread.currentThread().getName()); 140 record.setThreadID(Thread.currentThread().getId()); 141 record.setTimeStamp(System.currentTimeMillis()); 142 sqlTraceDelegator.sqlTrace(record);
|
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/ |
H A D | UniformLogFormatter.java | 161 public String format(LogRecord record) { argument 162 return uniformLogFormat(record); 165 public String formatMessage(LogRecord record) { argument 166 return uniformLogFormat(record); 195 protected void getNameValuePairs(StringBuilder buf, LogRecord record) { argument 197 Object[] parameters = record.getParameters(); 253 private String uniformLogFormat(LogRecord record) { argument 264 date.setTime(record.getMillis()); 268 recordBuffer.append(record.getLevel()).append(getRecordFieldSeparator() != null ? getRecordFieldSeparator() : FIELD_SEPARATOR); 270 recordBuffer.append(record [all...] |
H A D | SyslogHandler.java | 126 LogRecord record; 129 record = pendingRecords.take(); 133 Level level= record.getLevel(); 134 long millisec = record.getMillis(); 156 msg = msg +" [ " + slLvl +" glassfish ] " +record.getMessage(); 166 public void publish( LogRecord record ) { 171 pendingRecords.add(record); 175 pendingRecords.put(record); 177 // to bad, record is lost...
|
H A D | GFFileHandler.java | 419 for (LogRecord record : records) { 420 super.publish(record); 661 LogRecord record; 663 // take is blocking so we take one record off the queue 665 record = pendingRecords.take(); 666 super.publish(record); 696 public void publish(LogRecord record) { argument 705 // record.setThreadID((int)Thread.currentThread().getId()); 706 pendingRecords.add(record); 710 pendingRecords.put(record); [all...] |
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/custom/ |
H A D | StructuredLogViewerResource.java | 207 // extract every record 209 List<Serializable> record = srcRecords.get(recordIdx); 211 assert (record.size() == fieldHeaders.length); 216 rec.setRecordNumber(((Long) record.get(fieldIdx++)).longValue()); 217 rec.setLoggedDateTime((Date) record.get(fieldIdx++)); 218 rec.setLoggedLevel((String) record.get(fieldIdx++)); 219 rec.setProductName((String) record.get(fieldIdx++)); 220 rec.setLoggerName((String) record.get(fieldIdx++)); 221 rec.setNameValuePairs((String) record.get(fieldIdx++)); 222 rec.setMessageID((String) record [all...] |
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/gui/ |
H A D | UpgradeWorker.java | 122 public void publish(LogRecord record) { argument 124 record.getMessage(), record.getLevel());
|
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/ |
H A D | LogFile.java | 99 /**Constants for log record types. 132 /**Writes a log record to the physical log. 138 * The LSN of the written log record is an output parameter. 144 * @param record Log record data. 145 * @param recordType Log record type. 146 * @param recordLSN LSN of the written record. 153 byte[] record, 159 // Write the record. 163 LogLSN resultLSN = handle.writeRecord(record,recordTyp 152 write( int writeType, byte[] record, int recordType, LogLSN recordLSN ) argument [all...] |
H A D | LogHandle.java | 89 // WriteMode identifies the mode in which a system journal record 97 * overhead) - ie to physically write the record. 111 // Records written to the Master Log are allocated log record types 113 /**Start-of-checkpoint record - internally generated by &damjo. 117 /**Checkpoint record from an individual registered module 121 /**End-of-checkpoint record - internally generated by &damjo 129 /**Upper limit for user specified record type value. 138 /**The record type written to at the end of an extent to signify that the 139 * log record is a link record ( 284 writeRecord( byte[] record, int recordType, int writeMode ) argument [all...] |
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/logging/ |
H A D | LogService.java | 106 // Simply outputting the log record's message 110 public String format(LogRecord record) { argument 111 return record.getMessage() + "\n";
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/logging/ |
H A D | LogDomains.java | 361 public void log(LogRecord record) { 362 record.getSourceMethodName(); 363 if(record.getResourceBundle()==null) { 365 record.setResourceBundle(rb); 368 //record.setThreadID((int) Thread.currentThread().getId()); 369 if(record.getMessage()==null) { 370 record.setMessage(""); 372 super.log(record);
|
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc40/src/main/java/com/sun/gjc/spi/jdbc40/ |
H A D | ProfiledConnectionWrapper40.java | 428 SQLTraceRecord record = new SQLTraceRecord(); 429 record.setMethodName(method.getName()); 430 record.setParams(args); 431 record.setClassName(actualObject.getClass().getName()); 432 record.setThreadName(Thread.currentThread().getName()); 433 record.setThreadID(Thread.currentThread().getId()); 434 record.setTimeStamp(System.currentTimeMillis()); 435 sqlTraceDelegator.sqlTrace(record);
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/common/util/logging/ |
H A D | LoggingOutputStream.java | 84 * to the logger as a log record. 90 String record = null; 93 record = this.toString(); 96 if (record != null) { 97 if (record.length() == 0 || record.equals(lineSeparator)) { 106 logger.logp(level, "", "", record); 121 * stack traces are logged with each line being a new log record.
|
/glassfish-3.1.2/common/amx-ext-impl/src/main/java/org/glassfish/admin/amx/impl/ext/ |
H A D | LoggingImpl.java | 402 // extract every record 405 final List<Serializable> record = srcRecords.get( recordIdx ); 407 assert( record.size() == fieldHeaders.length ); 411 fieldValues[ fieldIdx ] = record.get( fieldIdx ); 747 final LogRecord record, 753 m.put( LOG_RECORD_LEVEL_KEY, record.getLevel() ); 754 m.put( LOG_RECORD_LOGGER_NAME_KEY, record.getLoggerName() ); 755 m.put( LOG_RECORD_MESSAGE_KEY, record.getMessage() ); 756 m.put( LOG_RECORD_MILLIS_KEY, record.getMillis() ); 757 m.put( LOG_RECORD_SEQUENCE_NUMBER_KEY, record 746 logRecordToMap( final LogRecord record, final String recordAsString ) argument [all...] |
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc30/src/main/java/com/sun/gjc/spi/jdbc30/ |
H A D | ProfiledConnectionWrapper30.java | 451 SQLTraceRecord record = new SQLTraceRecord(); 452 record.setMethodName(method.getName()); 453 record.setParams(args); 454 record.setClassName(actualObject.getClass().getName()); 455 record.setThreadName(Thread.currentThread().getName()); 456 record.setThreadID(Thread.currentThread().getId()); 457 record.setTimeStamp(System.currentTimeMillis()); 458 sqlTraceDelegator.sqlTrace(record);
|
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/common/ |
H A D | Artifacts.java | 111 public void record(final DeploymentContext dc) { method in class:Artifacts 226 public synchronized void record( method in class:Artifacts
|
/glassfish-3.1.2/deployment/common/src/test/java/com/sun/enterprise/deploy/shared/ |
H A D | FileArchiveTest.java | 233 for (LogRecord record : logger.logRecords()) { 234 sb.append(record.getLevel().getLocalizedName()) 236 .append(record.getMessage()) 486 * one record. 505 assertTrue("FileArchive was incorrectly unable to list files; error key in log record:" + 520 public void log(LogRecord record) { argument 521 records.add(record);
|
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/ |
H A D | LogViewHandlers.java | 268 for (Map<String, Object> record : records) { 269 record.put("dateTime", 271 record.get("loggedDateTimeInMS").toString())))); 281 record.put("levelImage", GuiUtil.getMessage("common.errorGif")); 282 record.put(SHOW_LEVEL_IMAGE, new Boolean(true)); 283 record.put("diagnosticCauses", getDiagnosticCauses(handlerCtx, msgId, moduleName)); 284 record.put("diagnosticChecks", getDiagnosticChecks(handlerCtx, msgId, moduleName)); 285 // record.put("diagnosticURI", getDiagnosticURI(handlerCtx, msgId)); 287 record.put(SHOW_LEVEL_IMAGE, new Boolean(false)); 288 record [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/ |
H A D | ReportHandler.java | 252 * @param record 254 private void generateErrors(LogRecord record) { argument 265 Element excepName = getTextNode(ERROR_NAME, record.getMessage()); 267 if (record.getThrown() != null) { 269 writeStackTraceToFile(record.getThrown()));
|
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/ |
H A D | AsadminMain.java | 128 public synchronized String format(LogRecord record) { argument 129 return formatMessage(record);
|