ppkarwasz edited a comment on pull request #735:
URL: https://github.com/apache/logging-log4j2/pull/735#issuecomment-1026545182
@carterkozak: this could work, but maybe let's use another suffix for the
condensed property. Is `.config` Ok?
Basically it could work like this:
- the implicit name of an appender is the part after `appender.` to the
**first** dot. The same could apply to filters and internal components. We
might reserve the **noadditivity** and **async** appender names, in order to
use them in the logger's shorthand notation,
- the implicit name of a property is the part following `property.` (this
is already true),
- the implicit name of a logger is after `logger`. to the **last** dot. We
add `.config` to Matt's shorthand notation (#733)
@jvz : what do you think?
An example config file:
```
property.log.file.name=myapp
appender.ROLLING.type=RollingFile
appender.ROLLING.fileName=logs/${log.file.name}.log
appender.ROLLING.filePattern=logs/${log.file.name}.%i.log
appender.ROLLING.SIZE=SizeBasedTriggeringPolicy
logger.org.apache.logging.log4j.config=INFO, ROLLING
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]