Is it possible to configure logback to log at e.g. WARN or INFO level for all packages but x.y? And then separate configuration for package x.y only.
相关问题
- slurm: use a control node also for computing
- convert logback.xml to log4j.properties
- Error when installing TDA package on R
- installing packages for python 3
- How to read a string array in appSettings.json?
相关文章
- unable to install packages(“caret”) completely in
- How to use relative line numbering universally in
- PHP friend/package visibility
- Ubuntu graphviz 'sfdp' not working
- On scala project - Getting error GC overhead limit
- Roxygen2 - how to @export reference class generato
- Debugging with Eclipse CDT and GDB: can't find
- Log4j2 using {} against using %d or %s
I don't know of any way you can get the "NOT" package aspect of your question, but I routinely log one package at DEBUG and all the rest at INFO and...above is it...WARN and ERROR. This is straight up-the-middle logback. My loggers are all like...
...on a logback.xml configuration like...
Has the effect of most output popping out at INFO, WARN, ERROR but all the rekdev.org.service.api classes. All the classes in the rekdev.org.service.api package produce output at DEBUG, INFO, WARN, ERROR.
Or did I misunderstand your questions entirely?