Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 29860 Details for
Bug 77318
Provide static/rules log file parser to import Java Logging XML log files.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Sample adapter file #1.
serverLog_v1.adapter (text/xml), 12.29 KB, created by
Paul Slauenwhite
on 2005-11-14 08:12:10 EST
(
hide
)
Description:
Sample adapter file #1.
Filename:
MIME Type:
Creator:
Paul Slauenwhite
Created:
2005-11-14 08:12:10 EST
Size:
12.29 KB
patch
obsolete
><?xml version="1.0" encoding="UTF-8"?> ><adapter:Adapter xmlns:adapter="http://www.eclipse.org/hyades/schema/Adapter.xsd" xmlns:cc="http://www.eclipse.org/hyades/schema/ComponentConfiguration.xsd" xmlns:ex="http://www.eclipse.org/hyades/schema/Extractor.xsd" xmlns:fmt="http://www.eclipse.org/hyades/schema/Formatter.xsd" xmlns:hga="http://www.eclipse.org/hyades/schema/Context.xsd" xmlns:op="http://www.eclipse.org/hyades/schema/Outputter.xsd" xmlns:parser="http://www.eclipse.org/hyades/schema/Parser.xsd" xmlns:pu="http://www.eclipse.org/hyades/schema/ProcessUnit.xsd" xmlns:sensor="http://www.eclipse.org/hyades/schema/Sensor.xsd"> > <hga:Contexts> > <hga:Context description="Context Instance for the current component" executableClass="org.eclipse.hyades.logging.adapter.impl.BasicContext" implementationCreationDate="2005-02-22T22:10:49.0" implementationVersion="1.0" loggingLevel="30" name="Basic Context Implementation" role="context" roleCreationDate="2005-02-22T22:10:49.0" roleVersion="1.0" uniqueID="N4A8E121054811D98000F1A236EFC9EF"> > <hga:Component description="Operating System file sensor" executableClass="org.eclipse.hyades.logging.adapter.sensors.SingleOSFileSensor" implementationCreationDate="2005-02-22T22:10:49.0" implementationVersion="1.0" loggingLevel="30" name="OS File Sensor" role="sensor" roleCreationDate="2005-02-22T22:10:49.0" roleVersion="1.0" uniqueID="N4B9AA01054811D98000F1A236EFC9EF"/> > <hga:Component description="This extractor uses regular expression patterns to identify record delimiters" executableClass="org.eclipse.hyades.logging.adapter.extractors.RegularExpressionExtractor" implementationCreationDate="2005-02-22T22:10:49.0" implementationVersion="1.0" loggingLevel="30" name="Regular Expression Extractor" role="messageExtractor" roleCreationDate="2005-02-22T22:10:49.0" roleVersion="1.0" uniqueID="N4BCB740054811D98000F1A236EFC9EF"/> > <hga:Component description="Regular expression parser" executableClass="org.eclipse.hyades.logging.adapter.parsers.Parser" implementationCreationDate="2005-02-22T22:10:51.0" implementationVersion="1.0" loggingLevel="30" name="Generic Parser" role="parser" roleCreationDate="2005-02-22T22:10:51.0" roleVersion="1.0" uniqueID="N4BE3DE0054811D98000F1A236EFC9EF"/> > <hga:Component description="CBE Formatter" executableClass="org.eclipse.hyades.logging.adapter.formatters.CBEFormatter" implementationCreationDate="2005-02-22T22:10:51.0" implementationVersion="1.0" loggingLevel="30" name="CBE Formatter" role="formatter" roleCreationDate="2005-02-22T22:10:51.0" roleVersion="1.0" uniqueID="N6053CD0054811D98000F1A236EFC9EF"/> > <hga:Component description="Logging Agent Outputter" executableClass="org.eclipse.hyades.logging.adapter.outputters.CBELogOutputter" implementationCreationDate="2005-02-22T22:10:51.0" implementationVersion="1.0" loggingLevel="30" name="Hyades Logging Agent Outputter" role="outputter" roleCreationDate="2005-02-22T22:10:51.0" roleVersion="1.0" uniqueID="N60B7E61054811D98000F1A236EFC9EF"/> > <hga:Component description="Log File Outputter" executableClass="org.eclipse.hyades.logging.adapter.outputters.CBEFileOutputter" implementationCreationDate="2005-02-22T22:10:51.0" implementationVersion="1.0" loggingLevel="30" name="Hyades Log File Outputter" role="outputter" roleCreationDate="2005-02-22T22:10:51.0" roleVersion="1.0" uniqueID="NF54EF37055211D98000F1A236EFC9EF"/> > </hga:Context> > </hga:Contexts> > <cc:Configuration description="The component level configurations for this Adaptor" uniqueID="N4A8E120054811D98775F1A236EFC9EF"> > <cc:ContextInstance charset="UTF-8" continuousOperation="true" description="Context Instance for the current component" isoCountryCode="US" isoLanguageCode="en" maximumIdleTime="60000" pauseInterval="10" uniqueID="N4A8E121054811D98000F1A236EFC9EF"> > <cc:Sensor description="A single file sensor" uniqueID="N4B9AA01054811D98000F1A236EFC9EF" confidenceBufferSize="1024" fileFooterSize="90" maximumBlocking="5" type="SingleFileSensor"> > <pu:Property propertyName="directory" propertyValue="D:\Presentations\EclipseWorld_2005\TPTP_v4_0_0\eclipse\workspace\Simple_HTTP_Proxy_Server\logs"/> > <pu:Property propertyName="fileName" propertyValue="server_0.log"/> > <sensor:SingleFileSensor directory="D:\Presentations\EclipseWorld_2005\TPTP_v4_0_0\eclipse\workspace\Simple_HTTP_Proxy_Server\logs" fileName="server_0.log"/> > </cc:Sensor> > <ex:Extractor containsLineBreaks="true" description="This extractor uses regular expression patterns to identify record delimiters" endPattern="</record>" includeEndPattern="false" includeStartPattern="false" lineBreakSymbol="" replaceLineBreaks="false" startPattern="<record>" uniqueID="N4BCB740054811D98000F1A236EFC9EF"/> > <cc:Parser designationToken=">" separatorToken="</.*>" uniqueID="N4BE3DE0054811D98000F1A236EFC9EF"> > <parser:RuleElement index="N4BE3DE1054811D98000F1A236EFC9EF" isChildChoice="false" isRequiredByParent="false" name="CommonBaseEvent"> > <parser:RuleElement index="N8B6F23F059E11D98000E6C25B4D3EB3" name="sourceComponentId"> > <parser:RuleAttribute index="N8B6F240059E11D98000E6C25B4D3EB3" isRequiredByParent="false" name="component" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule match="" positions="$h('<class')" substitute="" useBuiltInFunction="false"/> > </parser:RuleAttribute> > <parser:RuleAttribute defaultValue="Application" index="N8B6F241059E11D98000E6C25B4D3EB3" isRequiredByParent="false" name="componentIdType" usePreviousMatchSubstitutionAsDefault="false"/> > <parser:RuleAttribute defaultValue="Java_Application" index="N8B6F242059E11D98000E6C25B4D3EB3" isRequiredByParent="false" name="componentType" usePreviousMatchSubstitutionAsDefault="false"/> > <parser:RuleAttribute index="N8B6F243059E11D98000E6C25B4D3EB3" isRequiredByParent="false" name="location" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule match="" substitute="" useBuiltInFunction="true"/> > </parser:RuleAttribute> > <parser:RuleAttribute index="N8B6F244059E11D98000E6C25B4D3EB3" isRequiredByParent="false" name="locationType" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule match="" substitute="" useBuiltInFunction="true"/> > </parser:RuleAttribute> > <parser:RuleAttribute index="N8B6F245059E11D98000E6C25B4D3EB3" isRequiredByParent="false" name="subComponent" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule match="" positions="$h('<method')" substitute="" useBuiltInFunction="false"/> > </parser:RuleAttribute> > <parser:RuleAttribute index="N0D8ECBA059E11D98000E6C25B4D3EB3" name="threadId" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule match="" positions="$h('<thread')" substitute="" useBuiltInFunction="false"/> > </parser:RuleAttribute> > <parser:RuleAttribute defaultValue="Java" index="NEE2773405A011D98000E6C25B4D3EB3" name="executionEnvironment" usePreviousMatchSubstitutionAsDefault="false"/> > </parser:RuleElement> > <parser:RuleElement index="NCD940F3059F11D98000E6C25B4D3EB3" name="extendedDataElements"> > <parser:RuleAttribute index="NCD940F4059F11D98000E6C25B4D3EB3" isRequiredByParent="false" name="name" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule match="" positions="$h('<logger')" substitute="loggerName" useBuiltInFunction="false"/> > </parser:RuleAttribute> > <parser:RuleAttribute index="NCD940F5059F11D98000E6C25B4D3EB3" isRequiredByParent="false" name="type" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule match="" positions="$h('<logger')" substitute="string" useBuiltInFunction="false"/> > </parser:RuleAttribute> > <parser:RuleAttribute index="N2ED9120059F11D98000E6C25B4D3EB3" name="values" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule match="" positions="$h('<logger')" substitute="" useBuiltInFunction="false"/> > </parser:RuleAttribute> > </parser:RuleElement> > <parser:RuleElement index="NA67B66705A011D98000E6C25B4D3EB3" name="situation"> > <parser:RuleElement index="N208884A05A011D98000E6C25B4D3EB3" name="ReportSituation"> > <parser:RuleAttribute defaultValue="INTERNAL" index="N208884B05A011D98000E6C25B4D3EB3" isRequiredByParent="false" name="reasoningScope" usePreviousMatchSubstitutionAsDefault="false"/> > <parser:RuleAttribute defaultValue="LOG" index="N208884C05A011D98000E6C25B4D3EB3" isRequiredByParent="false" name="reportCategory" usePreviousMatchSubstitutionAsDefault="false"/> > </parser:RuleElement> > </parser:RuleElement> > <parser:RuleAttribute defaultValue="0001-01-01T00:00:00.000Z" index="N603B630054811D98000F1A236EFC9EF" isRequiredByParent="false" name="creationTime" usePreviousMatchSubstitutionAsDefault="true"> > <SubstitutionRule match="(.*)@@(\d+)(\d{3})" positions="$h('<date')@@$h('<millis')" substitute="$1$3" timeFormat="yyyy-MM-dd'T'HH:mm:ssSSS" useBuiltInFunction="false"/> > </parser:RuleAttribute> > <parser:RuleAttribute index="N7A999FE054E11D98000F1A236EFC9EF" name="msg" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule positions="$h('<message')" useBuiltInFunction="false"/> > </parser:RuleAttribute> > <parser:RuleAttribute index="N68E17FD059A11D98000E6C25B4D3EB3" name="globalInstanceId" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule useBuiltInFunction="true"/> > </parser:RuleAttribute> > <parser:RuleAttribute defaultValue="1.0.1" index="NF1432A1059B11D98000E6C25B4D3EB3" name="version" usePreviousMatchSubstitutionAsDefault="false"/> > <parser:RuleAttribute index="NDAFB231059D11D98000E6C25B4D3EB3" name="sequenceNumber" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule match="" positions="$h('<sequence')" substitute="" useBuiltInFunction="false"/> > </parser:RuleAttribute> > <parser:RuleAttribute defaultValue="70" index="N3C209DC05A011D98000E6C25B4D3EB3" name="severity" usePreviousMatchSubstitutionAsDefault="false"> > <SubstitutionRule match="ALL" positions="$h('<level')" substitute="0" useBuiltInFunction="false"/> > <SubstitutionRule match="FINEST" positions="$h('<level')" substitute="10" useBuiltInFunction="false"/> > <SubstitutionRule match="FINER" positions="$h('<level')" substitute="12" useBuiltInFunction="false"/> > <SubstitutionRule match="FINE" positions="$h('<level')" substitute="14" useBuiltInFunction="false"/> > <SubstitutionRule match="CONFIG" positions="$h('<level')" substitute="16" useBuiltInFunction="false"/> > <SubstitutionRule match="INFO" positions="$h('<level')" substitute="18" useBuiltInFunction="false"/> > <SubstitutionRule match="WARNING" positions="$h('<level')" substitute="30" useBuiltInFunction="false"/> > <SubstitutionRule match="SEVERE" positions="$h('<level')" substitute="50" useBuiltInFunction="false"/> > </parser:RuleAttribute> > </parser:RuleElement> > </cc:Parser> > <fmt:Formatter description="CBE Formatter" uniqueID="N6053CD0054811D98000F1A236EFC9EF"/> > <cc:Outputter description="Logging Agent Outputter" uniqueID="N60B7E61054811D98000F1A236EFC9EF" type="LoggingAgentOutputter"> > <pu:Property propertyName="agentName" propertyValue="GLA Demo Logging Agent"/> > <op:LoggingAgentOutputterType agentName="GLA Demo Logging Agent"/> > </cc:Outputter> > <cc:Outputter description="Log File Outputter" uniqueID="NF54EF37055211D98000F1A236EFC9EF" type="SingleFileOutputter"> > <pu:Property propertyName="directory" propertyValue="D:\Presentations\EclipseWorld_2005\TPTP_v4_0_0\eclipse\workspace\Simple_HTTP_Proxy_Server\logs"/> > <pu:Property propertyName="fileName" propertyValue="server_0_cbe.log"/> > <op:SingleFileOutputterType directory="D:\Presentations\EclipseWorld_2005\TPTP_v4_0_0\eclipse\workspace\Simple_HTTP_Proxy_Server\logs" fileName="server_0_cbe.log"/> > </cc:Outputter> > </cc:ContextInstance> > </cc:Configuration> ></adapter:Adapter>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 77318
:
18247
|
29858
|
29859
| 29860 |
29861
|
31216
|
31274