META-INF.spring-configuration-metadata.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of p6spy-spring-boot-starter Show documentation
Show all versions of p6spy-spring-boot-starter Show documentation
快速集成p6spy的spring boot starter
The newest version!
{
"groups": [
{
"name": "p6spy.config",
"type": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
}
],
"properties": [
{
"name": "p6spy.config.append",
"type": "java.lang.String",
"description": "# append to the p6spy log file. if this is set to false the # log file is truncated every time. (file logger only) # (default is true)",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.enabled",
"type": "java.lang.Boolean",
"description": "Whether to enable p6spy"
},
{
"name": "p6spy.config.appender",
"type": "java.lang.String",
"description": "# specifies the appender to use for logging # Please note: reload means forgetting all the previously set # settings (even those set during runtime - via JMX) # and starting with the clean table # (only the properties read from the configuration file) # (default is com.p6spy.engine.spy.appender.FileLogger) #appender=com.p6spy.engine.spy.appender.Slf4JLogger #appender=com.p6spy.engine.spy.appender.StdoutLogger #appender=com.p6spy.engine.spy.appender.FileLogger",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.autoflush",
"type": "java.lang.String",
"description": "# for flushing per statement # (default is false)",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.customLogMessageFormat",
"type": "java.lang.String",
"description": "# Custom log message format used ONLY IF logMessageFormat is set to com.p6spy.engine.spy.appender.CustomLineFormat # default is %(currentTime)|%(executionTime)|%(category)|connection%(connectionId)|%(sqlSingleLine) # Available placeholders are: # %(connectionId) the id of the connection # %(currentTime) the current time expressing in milliseconds # %(executionTime) the time in milliseconds that the operation took to complete # %(category) the category of the operation # %(effectiveSql) the SQL statement as submitted to the driver # %(effectiveSqlSingleLine) the SQL statement as submitted to the driver, with all new lines removed # %(sql) the SQL statement with all bind variables replaced with actual values # %(sqlSingleLine) the SQL statement with all bind variables replaced with actual values, with all new lines removed #customLogMessageFormat=%(currentTime)|%(executionTime)|%(category)|connection%(connectionId)|%(sqlSingleLine)",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.databaseDialectBooleanFormat",
"type": "java.lang.String",
"description": "# format that is used for logging booleans, possible values: boolean, numeric # (default is boolean) #databaseDialectBooleanFormat=boolean",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.databaseDialectDateFormat",
"type": "java.lang.String",
"description": "# format that is used for logging of the java.util.Date implementations (has to be compatible with java.text.SimpleDateFormat) # (default is yyyy-MM-dd'T'HH:mm:ss.SSSZ) #databaseDialectDateFormat=yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.databaseDialectTimestampFormat",
"type": "java.lang.String",
"description": "# format that is used for logging of the java.sql.Timestamp implementations (has to be compatible with java.text.SimpleDateFormat) # (default is yyyy-MM-dd'T'HH:mm:ss.SSSZ) #databaseDialectTimestampFormat=yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.dateformat",
"type": "java.lang.String",
"description": "# sets the date format using Java's SimpleDateFormat routine. # In case property is not set, milliseconds since 1.1.1970 (unix time) is used (default",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.driverlist",
"type": "java.lang.String",
"description": "# A comma separated list of JDBC drivers to load and register. # (default is empty) # # Note: This is normally only needed when using P6Spy in an # application server environment with a JNDI data source or when # using a JDBC driver that does not implement the JDBC 4.0 API # (specifically automatic registration).",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.jmx",
"type": "java.lang.String",
"description": "# whether to expose options via JMX or not # (default is true) #jmx=true",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.jmxPrefix",
"type": "java.lang.String",
"description": "# if exposing options via jmx (see option: jmx), what should be the prefix used? # jmx naming pattern constructed is: com.p6spy(.)?:name= # please note, if there is already such a name in use it would be unregistered first (the last registered wins) # (default is none) #jmxPrefix=",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.jndicontextcustom",
"type": "java.lang.String",
"description": "# JNDI DataSource lookup # # # # If you are using the DataSource support outside of an app # # server, you will probably need to define the JNDI Context # # environment. # # # # If the P6Spy code will be executing inside an app server then # # do not use these properties, and the DataSource lookup will # # use the naming context defined by the app server. # # # # The two standard elements of the naming environment are # # jndicontextfactory and jndicontextproviderurl. If you need # # additional elements, use the jndicontextcustom property. # # You can define multiple properties in jndicontextcustom, # # in name value pairs. Separate the name and value with a # # semicolon, and separate the pairs with commas. # # # # The example shown here is for a standalone program running on # # a machine that is also running JBoss, so the JNDI context # # is configured for JBoss (3.0.4). # # # # (by default all these are empty) # ################################################################# #jndicontextfactory=org.jnp.interfaces.NamingContextFactory #jndicontextproviderurl=localhost:1099 #jndicontextcustom=java.naming.factory.url.pkgs;org.jboss.naming:org.jnp.interfaces",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.jndicontextfactory",
"type": "java.lang.String",
"description": "# JNDI DataSource lookup # # # # If you are using the DataSource support outside of an app # # server, you will probably need to define the JNDI Context # # environment. # # # # If the P6Spy code will be executing inside an app server then # # do not use these properties, and the DataSource lookup will # # use the naming context defined by the app server. # # # # The two standard elements of the naming environment are # # jndicontextfactory and jndicontextproviderurl. If you need # # additional elements, use the jndicontextcustom property. # # You can define multiple properties in jndicontextcustom, # # in name value pairs. Separate the name and value with a # # semicolon, and separate the pairs with commas. # # # # The example shown here is for a standalone program running on # # a machine that is also running JBoss, so the JNDI context # # is configured for JBoss (3.0.4). # # # # (by default all these are empty) # ################################################################# #jndicontextfactory=org.jnp.interfaces.NamingContextFactory #jndicontextproviderurl=localhost:1099 #jndicontextcustom=java.naming.factory.url.pkgs;org.jboss.naming:org.jnp.interfaces",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.jndicontextproviderurl",
"type": "java.lang.String",
"description": "# JNDI DataSource lookup # # # # If you are using the DataSource support outside of an app # # server, you will probably need to define the JNDI Context # # environment. # # # # If the P6Spy code will be executing inside an app server then # # do not use these properties, and the DataSource lookup will # # use the naming context defined by the app server. # # # # The two standard elements of the naming environment are # # jndicontextfactory and jndicontextproviderurl. If you need # # additional elements, use the jndicontextcustom property. # # You can define multiple properties in jndicontextcustom, # # in name value pairs. Separate the name and value with a # # semicolon, and separate the pairs with commas. # # # # The example shown here is for a standalone program running on # # a machine that is also running JBoss, so the JNDI context # # is configured for JBoss (3.0.4). # # # # (by default all these are empty) # ################################################################# #jndicontextfactory=org.jnp.interfaces.NamingContextFactory #jndicontextproviderurl=localhost:1099 #jndicontextcustom=java.naming.factory.url.pkgs;org.jboss.naming:org.jnp.interfaces",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.logMessageFormat",
"type": "java.lang.String",
"description": "# class to use for formatting log messages (default is: com.p6spy.engine.spy.appender.SingleLineFormat)",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.logfile",
"type": "java.lang.String",
"description": "# name of logfile to use, note Windows users should make sure to use forward slashes in their pathname (e:\/test\/spy.log) # (used for com.p6spy.engine.spy.appender.FileLogger only) # (default is spy.log)",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.modulelist",
"type": "java.lang.String",
"description": "# Module list adapts the modular functionality of P6Spy. # Only modules listed are active. # (default is com.p6spy.engine.logging.P6LogFactory and # com.p6spy.engine.spy.P6SpyFactory) # Please note that the core module (P6SpyFactory) can't be # deactivated. # Unlike the other properties, activation of the changes on # this one requires reload.",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.realdatasource",
"type": "java.lang.String",
"description": "# DataSource replacement # # # # Replace the real DataSource class in your application server # # configuration with the name com.p6spy.engine.spy.P6DataSource # # (that provides also connection pooling and xa support). # # then add the JNDI name and class name of the real # # DataSource here # # # # Values set in this item cannot be reloaded using the # # reloadproperties variable. Once it is loaded, it remains # # in memory until the application is restarted. # # # ################################################################# #realdatasource=\/RealMySqlDS",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.realdatasourceclass",
"type": "java.lang.String",
"description": "#realdatasourceclass=com.mysql.jdbc.jdbc2.optional.MysqlDataSource",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.realdatasourceproperties",
"type": "java.lang.String",
"description": "# DataSource properties # # # # If you are using the DataSource support to intercept calls # # to a DataSource that requires properties for proper setup, # # define those properties here. Use name value pairs, separate # # the name and value with a semicolon, and separate the # # pairs with commas. # # # # The example shown here is for mysql # # # ################################################################# #realdatasourceproperties=port;3306,serverName;myhost,databaseName;jbossdb,foo;bar",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.reloadproperties",
"type": "java.lang.String",
"description": "# determines if property file should be reloaded # Please note: reload means forgetting all the previously set # settings (even those set during runtime - via JMX) # and starting with the clean table # (default is false) #reloadproperties=false",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.reloadpropertiesinterval",
"type": "java.lang.String",
"description": "# determines how often should be reloaded in seconds # (default is 60) #reloadpropertiesinterval=60",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.stacktrace",
"type": "java.lang.String",
"description": "# prints a stack trace for every statement logged",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
},
{
"name": "p6spy.config.stacktraceclass",
"type": "java.lang.String",
"description": "# if stacktrace=true, specifies the stack trace to print",
"sourceType": "com.github.klboke.springboot.autoconfigure.p6spy.P6spyProperties"
}
],
"hints": []
}