jboss-logging/jboss-logmanager — pull request #36 by jamezp (2013-08-26 21:05:35+00:00)
Title: [LOGMGR-67] Add new format options for the PatternFormatter

### Added the ability to use the thread id for the thread format pattern.

Example:
```
Thread Id: %t{id} Thread Name: %t
```

### Added option to print system properties.

Example no default:
```
%${key}
```

Example with default:
```
%${key:defaultValue}
```

### Added options to truncate segments of the category or class name.

Precision | Category | Output
--- | --- | ---
```%c``` | org.jboss.logmanager.example | org.jboss.logmanager.example
```%{1}``` | org.jboss.logmanager.example | example
```%{1.}``` | org.jboss.logmanager.example | o.j.l.example
```%{.}``` | org.jboss.logmanager.example | ...example
```%{1.~}``` | org.jboss.logmanager.example | o.~.~.example

Also minor updates to ignore a test that randomly fails and not always append a dot to the stack for NDC.