The configuration of the logging subsystem.
Attribute | Value |
---|---|
Default Value | true |
Type | BOOLEAN |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | true |
Type | BOOLEAN |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
---|---|---|---|---|---|
add-logging-api-dependencies | BOOLEAN | false | true | true | Indicates whether or not logging API dependencies should be added to deployments during the deployment process. A value of true will add the dependencies to the deployment. A value of false will skip the deployment from being processed for logging API dependencies. |
use-deployment-logging-config | BOOLEAN | false | true | true | Indicates whether or not deployments should use a logging configuration file found in the deployment to configure the log manager. If set to true and a logging configuration file is found in the deployment's META-INF or WEB-INF/classes directory, then a log manager will be configured with those settings. If set to false, the server's logging configuration will be used regardless of any logging configuration files supplied in the deployment. |
{
"file-name" => {
"type" => STRING,
"description" => "The name of the file.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L,
"stability" => "default"
},
"file-size" => {
"type" => LONG,
"description" => "The size of the log file in bytes.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"stability" => "default"
},
"last-modified-date" => {
"type" => STRING,
"description" => "The date the file was last modified.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L,
"stability" => "default"
}
}
Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
---|---|---|---|---|---|
name | STRING | true | true | The name of the log file to read. This file must exist in the jboss.server.log.dir. | |
encoding | STRING | false | true | The character encoding used to read the file. | |
lines | INT | false | true | 10 | The number of lines to read from the file. A value of -1 will read all log lines. |
skip | INT | false | true | 0 | The number of lines to skip before reading. |
tail | BOOLEAN | false | true | true | Reads from the end of the file. |
STRING