Searched refs:record (Results 1 - 25 of 29) sorted by relevance

12

/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/jdbc/
H A DSQLTraceListener.java45 * 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 DVerifierFormatter.java60 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 DWSTCPAdapterRegistryImpl.java84 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 DSQLTraceDelegator.java52 * 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 DSQLTraceLogger.java51 * 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 DFileLoggerHandler.java96 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 DJdbcObjectsFactory.java135 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 DUniformLogFormatter.java161 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 DSyslogHandler.java126 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 DGFFileHandler.java419 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 DStructuredLogViewerResource.java207 // 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 DUpgradeWorker.java122 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 DLogFile.java99 /**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 DLogHandle.java89 // 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 DLogService.java106 // 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 DLogDomains.java361 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 DProfiledConnectionWrapper40.java428 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 DLoggingOutputStream.java84 * 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 DLoggingImpl.java402 // 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 DProfiledConnectionWrapper30.java451 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 DArtifacts.java111 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 DFileArchiveTest.java233 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 DLogViewHandlers.java268 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 DReportHandler.java252 * @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 DAsadminMain.java128 public synchronized String format(LogRecord record) { argument
129 return formatMessage(record);

Completed in 40 milliseconds

12